* 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
14 lines
406 B
TypeScript
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 });
|