Fix build errors

This commit is contained in:
Darren Clarke 2023-03-22 07:50:47 +00:00
parent 97b1c3d6ee
commit fb3d574121
6 changed files with 5877 additions and 32824 deletions

View file

@ -6,7 +6,7 @@ interface AboutBoxProps {
backgroundColor: string;
}
export const AboutBox: FC<AboutBoxProps> = ({ backgroundColor, children }) => {
export const AboutBox: FC<AboutBoxProps> = ({ backgroundColor, children }: any) => {
const {
colors: { white },
} = useAppContext();

View file

@ -12,7 +12,7 @@ export const PageHeader: FC<PageHeaderProps> = ({
backgroundColor,
sx = {},
children,
}) => {
}: any) => {
const {
colors: { white },
} = useAppContext();

View file

@ -18,7 +18,7 @@ export default class LeafcutterDocument extends Document {
}
}
LeafcutterDocument.getInitialProps = async (ctx) => {
LeafcutterDocument.getInitialProps = async (ctx): Promise<any> => {
const originalRenderPage = ctx.renderPage;
const cache = createEmotionCache();
const { extractCriticalToChunks } = createEmotionServer(cache as any);

12161
apps/link/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -27,11 +27,11 @@
"graphql-request": "^5.2.0",
"http-proxy-middleware": "^2.0.6",
"material-ui-popup-state": "^5.0.4",
"next": "^12.3",
"react": "^17",
"react-dom": "^17",
"next": "^12",
"next-auth": "^4.19.2",
"next-http-proxy-middleware": "^1.2.5",
"react": "^17",
"react-dom": "^17",
"react-iframe": "^1.8.5",
"react-polyglot": "^0.7.2",
"sharp": "^0.30.7",