From 40b2590815079c0cbc93bdb1d92b1c2ef1b0d1af Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 12 Sep 2023 17:25:08 +0100 Subject: [PATCH] different imports --- docs/pages/_app.js | 11 +++++++++++ docs/theme.config.jsx | 2 -- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 docs/pages/_app.js diff --git a/docs/pages/_app.js b/docs/pages/_app.js new file mode 100644 index 0000000..e78861b --- /dev/null +++ b/docs/pages/_app.js @@ -0,0 +1,11 @@ +import { DocsGPTWidget } from "docsgpt"; +import "docsgpt/dist/style.css"; + +export default function MyApp({ Component, pageProps }) { + return ( + <> + + + + ) +} \ No newline at end of file diff --git a/docs/theme.config.jsx b/docs/theme.config.jsx index f690cef..2b868db 100644 --- a/docs/theme.config.jsx +++ b/docs/theme.config.jsx @@ -1,7 +1,5 @@ import Image from 'next/image' import { Analytics } from '@vercel/analytics/react'; -import { DocsGPTWidget } from "docsgpt"; -import "docsgpt/dist/style.css"; const github = 'https://github.com/arc53/DocsGPT';