todo
This commit is contained in:
@@ -21,6 +21,7 @@ const DashboardPage: NextPageWithLayout = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// todo layout as component
|
||||||
DashboardPage.getLayout = function getLayout(page: ReactElement) {
|
DashboardPage.getLayout = function getLayout(page: ReactElement) {
|
||||||
return <Layout>{page}</Layout>;
|
return <Layout>{page}</Layout>;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user