feat(settings): implement organization settings page

This commit is contained in:
Usman Baig
2026-01-22 01:52:51 +01:00
parent 237834db3e
commit 9767d928ce
4 changed files with 627 additions and 23 deletions

View File

@@ -18,7 +18,7 @@ export default function LayoutContent({ children }: { children: React.ReactNode
useEffect(() => {
if (auth.user) {
getUserOrganizations()
.then(({ organizations }) => setOrgs(organizations))
.then((organizations) => setOrgs(organizations))
.catch(err => console.error('Failed to fetch orgs for header', err))
}
}, [auth.user])