mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-18 23:46:04 +01:00
refactor: imp some components
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import type { AppProps } from 'next/app'
|
||||
|
||||
import { DataProvider } from '../contexts/DataContext'
|
||||
import { globalStyles } from '../styles/globals'
|
||||
|
||||
export default function App({ Component, pageProps }: AppProps) {
|
||||
globalStyles()
|
||||
return <Component {...pageProps} />
|
||||
return (
|
||||
<DataProvider>
|
||||
<Component {...pageProps} />
|
||||
</DataProvider>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user