Fix build errors
This commit is contained in:
parent
97b1c3d6ee
commit
fb3d574121
6 changed files with 5877 additions and 32824 deletions
|
|
@ -6,7 +6,7 @@ interface AboutBoxProps {
|
||||||
backgroundColor: string;
|
backgroundColor: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const AboutBox: FC<AboutBoxProps> = ({ backgroundColor, children }) => {
|
export const AboutBox: FC<AboutBoxProps> = ({ backgroundColor, children }: any) => {
|
||||||
const {
|
const {
|
||||||
colors: { white },
|
colors: { white },
|
||||||
} = useAppContext();
|
} = useAppContext();
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ export const PageHeader: FC<PageHeaderProps> = ({
|
||||||
backgroundColor,
|
backgroundColor,
|
||||||
sx = {},
|
sx = {},
|
||||||
children,
|
children,
|
||||||
}) => {
|
}: any) => {
|
||||||
const {
|
const {
|
||||||
colors: { white },
|
colors: { white },
|
||||||
} = useAppContext();
|
} = useAppContext();
|
||||||
|
|
|
||||||
|
|
@ -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 originalRenderPage = ctx.renderPage;
|
||||||
const cache = createEmotionCache();
|
const cache = createEmotionCache();
|
||||||
const { extractCriticalToChunks } = createEmotionServer(cache as any);
|
const { extractCriticalToChunks } = createEmotionServer(cache as any);
|
||||||
|
|
|
||||||
12161
apps/link/package-lock.json
generated
12161
apps/link/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -27,11 +27,11 @@
|
||||||
"graphql-request": "^5.2.0",
|
"graphql-request": "^5.2.0",
|
||||||
"http-proxy-middleware": "^2.0.6",
|
"http-proxy-middleware": "^2.0.6",
|
||||||
"material-ui-popup-state": "^5.0.4",
|
"material-ui-popup-state": "^5.0.4",
|
||||||
"next": "^12.3",
|
"next": "^12",
|
||||||
"react": "^17",
|
|
||||||
"react-dom": "^17",
|
|
||||||
"next-auth": "^4.19.2",
|
"next-auth": "^4.19.2",
|
||||||
"next-http-proxy-middleware": "^1.2.5",
|
"next-http-proxy-middleware": "^1.2.5",
|
||||||
|
"react": "^17",
|
||||||
|
"react-dom": "^17",
|
||||||
"react-iframe": "^1.8.5",
|
"react-iframe": "^1.8.5",
|
||||||
"react-polyglot": "^0.7.2",
|
"react-polyglot": "^0.7.2",
|
||||||
"sharp": "^0.30.7",
|
"sharp": "^0.30.7",
|
||||||
|
|
|
||||||
26528
package-lock.json
generated
26528
package-lock.json
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue