fix: fix build error for layout props
This commit is contained in:
parent
e8ea6cdd5d
commit
b5699b85f1
@ -1,9 +1,9 @@
|
||||
import { DashboardHeader } from '@/components/dashboard/dashboard-header';
|
||||
import { NextPageProps } from '@/types/next-page-props';
|
||||
import { getTranslations } from 'next-intl/server';
|
||||
import { PropsWithChildren } from 'react';
|
||||
|
||||
interface BillingLayoutProps extends PropsWithChildren, NextPageProps {}
|
||||
interface BillingLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default async function BillingLayout({
|
||||
children,
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { DashboardHeader } from '@/components/dashboard/dashboard-header';
|
||||
import { NextPageProps } from '@/types/next-page-props';
|
||||
import { getTranslations } from 'next-intl/server';
|
||||
import { PropsWithChildren } from 'react';
|
||||
|
||||
interface NotificationsLayoutProps extends PropsWithChildren, NextPageProps {}
|
||||
interface NotificationsLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default async function NotificationsLayout({
|
||||
children,
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { DashboardHeader } from '@/components/dashboard/dashboard-header';
|
||||
import { NextPageProps } from '@/types/next-page-props';
|
||||
import { getTranslations } from 'next-intl/server';
|
||||
import { PropsWithChildren } from 'react';
|
||||
|
||||
interface ProfileLayoutProps extends PropsWithChildren, NextPageProps {}
|
||||
interface ProfileLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default async function ProfileLayout({
|
||||
children,
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { DashboardHeader } from '@/components/dashboard/dashboard-header';
|
||||
import { NextPageProps } from '@/types/next-page-props';
|
||||
import { getTranslations } from 'next-intl/server';
|
||||
import { PropsWithChildren } from 'react';
|
||||
|
||||
interface SecurityLayoutProps extends PropsWithChildren, NextPageProps {}
|
||||
interface SecurityLayoutProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
export default async function SecurityLayout({
|
||||
children,
|
||||
|
Loading…
Reference in New Issue
Block a user