Skip to content

Commit

Permalink
fix: error on load with LOCK_TO_INSTANCE set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyphyn committed Jul 17, 2024
1 parent 4a8792f commit 7484d46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "photon-lemmy",
"version": "1.31.0",
"version": "1.31.0-fix.1",
"devDependencies": {
"@catdadcode/svelte-adapter-bun": "^0.5.7",
"@dicebear/core": "^8.0.1",
Expand Down
10 changes: 5 additions & 5 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
history.replaceState(
null,
'',
window.location.toString().replace('#main', '')
window.location.toString().replace('#main', ''),
)
}
window
Expand Down Expand Up @@ -88,11 +88,11 @@

<svelte:head>
<meta name="theme-color" content={themeColor} />
{#if $site}
<title>{$site.site_view.site.name}</title>
{#if $site?.site_view}
<title>{$site?.site_view.site.name}</title>
{#if LINKED_INSTANCE_URL}
<link rel="icon" href={$site.site_view.site.icon} />
<meta name="description" content={$site.site_view.site.description} />
<link rel="icon" href={$site?.site_view?.site.icon} />
<meta name="description" content={$site?.site_view?.site.description} />
{:else}
<meta name="description" content="A sleek client for Lemmy" />
{/if}
Expand Down

0 comments on commit 7484d46

Please sign in to comment.