* fix: 404 collisions * Added E2E test * Removed await * Attempting to fix E2E * fingers crossed Signed-off-by: zomars <zomars@me.com> * fix: e2e tests * fix: missing navigation to 404 page * fix: don't interrupt post login navigation * fix: Expect owner as possible host for RR events --------- Signed-off-by: zomars <zomars@me.com> Co-authored-by: Omar López <zomars@me.com>
19 lines
453 B
TypeScript
19 lines
453 B
TypeScript
import type { GetStaticPropsContext } from "next";
|
|
|
|
import { getTranslations } from "@server/lib/getTranslations";
|
|
|
|
import NotFoundPage from "./404/page";
|
|
import { WithLayout } from "./layoutHOC";
|
|
|
|
const getData = async (context: GetStaticPropsContext) => {
|
|
const i18n = await getTranslations(context);
|
|
|
|
return {
|
|
i18n,
|
|
};
|
|
};
|
|
|
|
export const dynamic = "force-static";
|
|
|
|
export default WithLayout({ getLayout: null, getData, Page: NotFoundPage });
|