Files
cal.diy/apps/web/app/future/availability/troubleshoot/page.tsx
T
Benny Joo 963d22648b chore: App-router-migration(/availability) add pages / extract components into /module (#16404)
* migrate availability/[schedule]

* add use client directive

* migrate main availability page

* migrate availability/troubleshoot page

* add env var

* extract AvailabilitySettingsWebWrapper into /modules

* fix build

* add missing default

* add missing export

* fix troubleshoot

* use params, not searchParams in generateMetadata

* fix schedule page in app router
2024-09-05 12:37:18 +00:00

14 lines
406 B
TypeScript

import { _generateMetadata } from "app/_utils";
import { WithLayout } from "app/layoutHOC";
import Troubleshoot, { getLayout } from "~/availability/troubleshoot/troubleshoot-view";
export const generateMetadata = async () => {
return await _generateMetadata(
(t) => t("troubleshoot"),
(t) => t("troubleshoot_availability")
);
};
export default WithLayout({ getLayout, Page: Troubleshoot });