You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(files): R2 empty-list + passkey list method (#93)
* fix(files): handle R2 NoSuchKey on empty listing; fix passkey list method
R2 returns NoSuchKey (404) for empty buckets/prefixes where S3 returns
an empty Contents array. listUserObjects now catches and returns []
so /api/files succeeds for users with no files.
PasskeySection was calling authClient.listPasskeys (undefined) instead
of authClient.passkey.listUserPasskeys — wrong path, 404, undefined
return that probably crashed downstream. Same fix for deletePasskey.
* fix(ui): wrap DropdownMenuLabel + items in DropdownMenuGroup
Base UI (shadcn v3) requires MenuGroupRootContext — DropdownMenuLabel
+ child items must live inside <Menu.Group>. Wrap all three callsites:
- apps/web/src/components/app/notification-bell.tsx (header)
- apps/web/src/components/app/app-sidebar.tsx (account menu)
- apps/admin/src/app/[locale]/users/_user-actions-menu.tsx
0 commit comments