Skip to content

Commit 3bc82a7

Browse files
committed
add title to _app to follow new nextjs docs guidelines
1 parent 525cf84 commit 3bc82a7

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

spicecloud/pages/_app.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
import '../styles/globals.css'
22
import type { AppProps } from 'next/app'
3+
import Head from 'next/head'
4+
import React from 'react'
35

46
export default function App({ Component, pageProps }: AppProps) {
5-
return <Component {...pageProps} />
7+
return (
8+
<>
9+
<Head>
10+
<title>SpiceCloud | Powered by SpiceCodeCLI</title>
11+
</Head>
12+
13+
<Component {...pageProps} />
14+
</>
15+
)
16+
617
}

0 commit comments

Comments
 (0)