mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-04 00:53:49 +00:00
fix invalid "default"
This commit is contained in:
@@ -8,11 +8,11 @@ import SettingsLayoutClient from "./DomainSettingsLayout";
|
||||
|
||||
interface SettingsLayoutProps {
|
||||
children: React.ReactNode;
|
||||
params: Promise<{ domainId: string; orgId: string }>;
|
||||
params: { domainId: string; orgId: string };
|
||||
}
|
||||
|
||||
export default async function SettingsLayout({ children, params }: SettingsLayoutProps) {
|
||||
const { domainId, orgId } = await params;
|
||||
const { domainId, orgId } = params;
|
||||
|
||||
let domain = null;
|
||||
try {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
export default function DomainPage({ children }: { children: React.ReactNode }) {
|
||||
return <>{children}</>;
|
||||
}
|
||||
export default function DomainPage() {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user