Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
enddynayn committed Nov 1, 2024
1 parent a290066 commit 96bf765
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/components/ActivityLogPreview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import type { Activity } from '$lib/storeTypes';
let recentActivityItem: Activity = $derived($activityLog[0]);
</script>

<div class="flex flex-col">
Expand Down
11 changes: 6 additions & 5 deletions src/components/BecomeAProvider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@
import { pageContent } from '$lib/stores/pageContentStore';
import { NetworkType } from '$lib/stores/networksStore';
interface Props {
// a callback for when the user cancels this action
cancelAction?: any;
cancelAction?: () => void;
}
let { cancelAction = () => {
pageContent.login();
} }: Props = $props();
let {
cancelAction = () => {
pageContent.login();
},
}: Props = $props();
</script>

<div id="become-a-provider" class="content-block column w-single-block">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
interface Props {
title?: string;
action?: any;
[key: string]: any
action?: () => void;
[key: string]: unknown;
}
let { title = '', action = () => {}, ...rest }: Props = $props();
Expand Down

0 comments on commit 96bf765

Please sign in to comment.