feat(settings): implement organization settings page
This commit is contained in:
@@ -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])
|
||||
|
||||
16
app/org-settings/page.tsx
Normal file
16
app/org-settings/page.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import OrganizationSettings from '@/components/settings/OrganizationSettings'
|
||||
|
||||
export const metadata = {
|
||||
title: 'Organization Settings - Pulse',
|
||||
description: 'Manage your organization settings',
|
||||
}
|
||||
|
||||
export default function OrgSettingsPage() {
|
||||
return (
|
||||
<div className="min-h-screen pt-24 pb-12 px-4 sm:px-6">
|
||||
<div className="max-w-4xl mx-auto">
|
||||
<OrganizationSettings />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user