Build fixes
This commit is contained in:
parent
be835c7759
commit
fc3eb1f7d9
6 changed files with 6 additions and 8 deletions
|
|
@ -29,7 +29,7 @@ const PostgraphilePlugin: Hapi.Plugin<HapiPostgraphileOptions> = {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
} as any
|
||||||
);
|
);
|
||||||
|
|
||||||
server.route({
|
server.route({
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { FC, useEffect, PropsWithChildren } from "react";
|
import { FC, useEffect } from "react";
|
||||||
import { CircularProgress, Typography, Grid } from "@mui/material";
|
import { CircularProgress, Typography, Grid } from "@mui/material";
|
||||||
import { signIn, signOut, getSession } from "next-auth/react";
|
import { signIn, signOut, getSession } from "next-auth/react";
|
||||||
import { useLogin, useTranslate } from "react-admin";
|
import { useLogin, useTranslate } from "react-admin";
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import { Layout as RaLayout, LayoutProps, Sidebar } from "react-admin";
|
import { Layout as RaLayout, LayoutProps, Sidebar } from "react-admin";
|
||||||
import AppBar from "./AppBar";
|
import AppBar from "./AppBar";
|
||||||
import Menu from "./Menu";
|
import { Menu } from "./Menu";
|
||||||
import { theme } from "./themes";
|
import { theme } from "./themes";
|
||||||
|
|
||||||
const CustomSidebar = (props: any) => <Sidebar {...props} size={200} />;
|
const CustomSidebar = (props: any) => <Sidebar {...props} size={200} />;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
const languages = {
|
const languages = {
|
||||||
languages: [
|
languages: [
|
||||||
{ id: "arb", name: "Arabic" },
|
{ id: "arb", name: "Arabic" },
|
||||||
{ id: "cy-GB", name: "Welsh" },
|
{ id: "cy-GB", name: "Welsh" },
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return null;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,10 @@ import * as pino from "pino";
|
||||||
|
|
||||||
declare module "@hapi/hapi" {
|
declare module "@hapi/hapi" {
|
||||||
interface Server {
|
interface Server {
|
||||||
// @ts-expect-error
|
|
||||||
logger: pino.Logger;
|
logger: pino.Logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Request {
|
interface Request {
|
||||||
// @ts-expect-error
|
|
||||||
logger: pino.Logger;
|
logger: pino.Logger;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue