mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-24 15:49:08 +01:00
36 lines
841 B
JavaScript
36 lines
841 B
JavaScript
import { StoreProvider } from 'providers/Store';
|
|
import { HotkeysProvider } from 'providers/Hotkeys';
|
|
import { AuthProvider } from 'providers/Auth';
|
|
|
|
import '../styles/globals.css'
|
|
import 'tailwindcss/dist/tailwind.min.css';
|
|
import 'react-tabs/style/react-tabs.css';
|
|
import 'codemirror/lib/codemirror.css';
|
|
import 'graphiql/graphiql.min.css';
|
|
|
|
import '../styles/app.scss';
|
|
|
|
function SafeHydrate({ children }) {
|
|
return (
|
|
<div suppressHydrationWarning>
|
|
{typeof window === 'undefined' ? null : children}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<SafeHydrate>
|
|
<AuthProvider>
|
|
<HotkeysProvider>
|
|
<StoreProvider>
|
|
<Component {...pageProps} />
|
|
</StoreProvider>
|
|
</HotkeysProvider>
|
|
</AuthProvider>
|
|
</SafeHydrate>
|
|
);
|
|
}
|
|
|
|
export default MyApp
|