Skip to content
Prev Previous commit
Next Next commit
Fix formatting
  • Loading branch information
BrunoQuaresma committed Jul 19, 2023
commit e58adb3f55ad8526582f681c0c648523f9bc5e4b
4 changes: 2 additions & 2 deletions offlinedocs/next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
trailingSlash: true,
reactStrictMode: true,
trailingSlash: true,
}

module.exports = nextConfig
36 changes: 18 additions & 18 deletions offlinedocs/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@ import type { AppProps } from "next/app"
import Head from "next/head"

const theme = extendTheme({
styles: {
global: {
body: {
bg: "gray.50",
},
},
},
styles: {
global: {
body: {
bg: "gray.50",
},
},
},
})

const MyApp: React.FC<AppProps> = ({ Component, pageProps }) => {
return (
<>
<Head>
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
<link rel="alternate icon" type="image/png" href="/favicon.png" />
</Head>
<ChakraProvider theme={theme}>
<Component {...pageProps} />
</ChakraProvider>
</>
)
return (
<>
<Head>
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
<link rel="alternate icon" type="image/png" href="/favicon.png" />
</Head>
<ChakraProvider theme={theme}>
<Component {...pageProps} />
</ChakraProvider>
</>
)
}

export default MyApp