Skip to content

Commit

Permalink
Merge pull request #119 from Suwayomi/main
Browse files Browse the repository at this point in the history
fix build
  • Loading branch information
Robonau authored Dec 22, 2023
2 parents 7b39efd + e1d8b23 commit b9ccd1b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"eslint-plugin-svelte": "^2.35.1",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
"svelte": "^4.2.8",
"svelte": "4.2.8",
"svelte-check": "^3.6.2",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/MountTitleAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const titleStore: Writable<string> = writable('loading...');
export const action = readonly(actionStore);
export const title = readonly(titleStore);

export function AppBarData<T extends ComponentType>(title: string, action: actionStoreT<T>) {
export function AppBarData<T extends ComponentType>(title: string, action?: actionStoreT<T>) {
afterUpdate(() => {
if (action) actionStore.set(action);
titleStore.set(title);
Expand Down
6 changes: 3 additions & 3 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<script lang="ts">
import MainAppRail from '$lib/components/MainAppRail.svelte';
import Toast from '$lib/components/Toast/Toast.svelte';
import { Meta, title as titleStore, toastStore } from '$lib/simpleStores';
import { Meta, toastStore } from '$lib/simpleStores';
import { title as titleStore } from '$lib/MountTitleAction';
import '../app.postcss';
// Floating UI for Popups
import { arrow, autoUpdate, computePosition, flip, offset, shift } from '@floating-ui/dom';
Expand Down Expand Up @@ -85,8 +86,7 @@
});
}
const toastStor = getToastStore();
$toastStore = toastStor;
$toastStore = getToastStore();
</script>

<svelte:head>
Expand Down

0 comments on commit b9ccd1b

Please sign in to comment.