Skip to content

Commit 66e5f27

Browse files
authored
Update _app.tsx
Passed isSSR prop to Provider
1 parent ea4708a commit 66e5f27

File tree

1 file changed

+1
-1
lines changed
  • nextjs-with-native-base-typescript/pages

1 file changed

+1
-1
lines changed

nextjs-with-native-base-typescript/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { NativeBaseProvider } from "native-base";
55

66
function MyApp({ Component, pageProps }: AppProps) {
77
return (
8-
<NativeBaseProvider>
8+
<NativeBaseProvider isSSR>
99
<Component {...pageProps} />
1010
</NativeBaseProvider>
1111
);

0 commit comments

Comments
 (0)