Skip to content

Commit d69bce4

Browse files
committed
UserShares item rename
1 parent ccf2550 commit d69bce4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/routes/(authenticated)/shares/user/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import type { V2UserShares } from '$lib/api/internal/v2';
44
import * as Table from '$lib/components/ui/table';
55
import { onMount } from 'svelte';
6-
import UserShareDrawer from './UserShareDrawer.svelte';
6+
import UserShareItem from './UserShareItem.svelte';
77
88
let userShares = $state<V2UserShares>({ outgoing: [], incoming: [] });
99
@@ -25,7 +25,7 @@
2525
<Table.Root>
2626
<Table.Body>
2727
{#each userShares.outgoing as userShare (userShare.id)}
28-
<UserShareDrawer {userShare} />
28+
<UserShareItem {userShare} />
2929
{/each}
3030
</Table.Body>
3131
</Table.Root>

src/routes/(authenticated)/shares/user/UserShareDrawer.svelte renamed to src/routes/(authenticated)/shares/user/UserShareItem.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
import * as Table from '$lib/components/ui/table';
88
import * as Tooltip from '$lib/components/ui/tooltip';
99
10-
type UserShareDrawerProps = {
10+
type Props = {
1111
userShare: V2UserSharesListItem;
1212
};
1313
1414
let editDrawer = $state(false);
1515
16-
let { userShare }: UserShareDrawerProps = $props();
16+
let { userShare }: Props = $props();
1717
</script>
1818

1919
<Drawer.Root open={editDrawer} onOpenChange={(newState) => (editDrawer = newState)}>

0 commit comments

Comments
 (0)