File tree Expand file tree Collapse file tree
src/routes/(authenticated)/shares/user Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 >
Original file line number Diff line number Diff line change 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 )}>
You can’t perform that action at this time.
0 commit comments