Skip to content

Commit

Permalink
1500: Remove no-ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben van Leeuwen committed Oct 30, 2024
1 parent bebfb8b commit 7f018f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
"next-query-params": "^5.0.0",
"process": "0.11.10",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.2.0",
"react-no-ssr": "^1.1.0",
"react-redux": "^9.1.2",
"use-query-params": "2.2.1"
},
Expand All @@ -39,16 +38,11 @@
"@orchestrator-ui/tsconfig": "*",
"@testing-library/jest-dom": "^6.6.2",
"@types/node": "^22.7.5",
"@types/react": "^18.2.45",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.2.18",
"@types/react-no-ssr": "^1.1.7",
"babel-jest": "^29.7.0",
"husky": "^9.0.11",
"typescript": "^5.5.2"
},
"overrides": {
"react-no-ssr": {
"react": "^18.3.1"
}
}
}
4 changes: 1 addition & 3 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { useEffect, useState } from 'react';
import NoSSR from 'react-no-ssr';

import { SessionProvider } from 'next-auth/react';
import { NextAdapter } from 'next-query-params';
Expand Down Expand Up @@ -86,7 +85,6 @@ function CustomApp({
>
<StoreProvider initialOrchestratorConfig={orchestratorConfig}>
<SessionProvider session={pageProps.session}>
<NoSSR>
<WfoAuth>
<EuiProvider
colorMode={themeMode}
Expand Down Expand Up @@ -134,7 +132,7 @@ function CustomApp({
</TranslationsProvider>
</EuiProvider>
</WfoAuth>
</NoSSR>

</SessionProvider>
</StoreProvider>
</OrchestratorConfigProvider>
Expand Down

0 comments on commit 7f018f2

Please sign in to comment.