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;
|
||||
}
|
||||
|
||||
export const AboutBox: FC<AboutBoxProps> = ({ backgroundColor, children }) => {
|
||||
export const AboutBox: FC<AboutBoxProps> = ({ backgroundColor, children }: any) => {
|
||||
const {
|
||||
colors: { white },
|
||||
} = useAppContext();
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export const PageHeader: FC<PageHeaderProps> = ({
|
|||
backgroundColor,
|
||||
sx = {},
|
||||
children,
|
||||
}) => {
|
||||
}: any) => {
|
||||
const {
|
||||
colors: { white },
|
||||
} = 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 cache = createEmotionCache();
|
||||
const { extractCriticalToChunks } = createEmotionServer(cache as any);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue