Skip to content

Commit

Permalink
Merge pull request #367 from icflorescu/next
Browse files Browse the repository at this point in the history
Fix docs website build error
  • Loading branch information
icflorescu committed Jul 10, 2023
2 parents 57b9a23 + 99347d3 commit 516894d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useEffect } from 'react';
import AppWrapper from '~/components/AppWrapper';
import { SEO_DEFAULT_DESCRIPTION, SEO_DEFAULT_TITLE } from '~/config';

export default function _App(props: AppProps) {
export default function CustomApp(props: AppProps) {
const { Component, pageProps } = props;

const [colorScheme, setColorScheme] = useLocalStorage<ColorScheme>({
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { DOCSEARCH_APP_ID, SEO_CREATOR, SEO_DEFAULT_DESCRIPTION, SEO_DEFAULT_TIT

const getInitialProps = createGetInitialProps();

export default class _Document extends Document {
export default class CustomDocument extends Document {
static getInitialProps = getInitialProps;

render() {
Expand Down

0 comments on commit 516894d

Please sign in to comment.