Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e58adb3

Browse files
committed
Fix formatting
1 parent 4a07143 commit e58adb3

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

offlinedocs/next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
reactStrictMode: true,
4-
trailingSlash: true,
3+
reactStrictMode: true,
4+
trailingSlash: true,
55
}
66

77
module.exports = nextConfig

offlinedocs/pages/_app.tsx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@ import type { AppProps } from "next/app"
33
import Head from "next/head"
44

55
const theme = extendTheme({
6-
styles: {
7-
global: {
8-
body: {
9-
bg: "gray.50",
10-
},
11-
},
12-
},
6+
styles: {
7+
global: {
8+
body: {
9+
bg: "gray.50",
10+
},
11+
},
12+
},
1313
})
1414

1515
const MyApp: React.FC<AppProps> = ({ Component, pageProps }) => {
16-
return (
17-
<>
18-
<Head>
19-
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
20-
<link rel="alternate icon" type="image/png" href="/favicon.png" />
21-
</Head>
22-
<ChakraProvider theme={theme}>
23-
<Component {...pageProps} />
24-
</ChakraProvider>
25-
</>
26-
)
16+
return (
17+
<>
18+
<Head>
19+
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
20+
<link rel="alternate icon" type="image/png" href="/favicon.png" />
21+
</Head>
22+
<ChakraProvider theme={theme}>
23+
<Component {...pageProps} />
24+
</ChakraProvider>
25+
</>
26+
)
2727
}
2828

2929
export default MyApp

0 commit comments

Comments
 (0)