-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/pxp-11315-explorer-page-redesign
- Loading branch information
Showing
65 changed files
with
8,060 additions
and
2,787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
node_modules | ||
packages/core/node_modules | ||
packages/core/dist | ||
packages/frontend/node_modules | ||
packages/frontend/dist | ||
packages/tools/node_modules | ||
packages/tools/dist | ||
packages/sampleCommons/node_modules | ||
packages/sampleCommons/.next | ||
packages/sampleCommons/.swc | ||
.git | ||
.nx | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"packages": ["packages/*"], | ||
"version": "0.10.68" | ||
"version": "0.10.74" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
import React, { PropsWithChildren } from 'react'; | ||
import { Provider } from 'react-redux'; | ||
import { coreStore } from './store'; | ||
import { persistStore } from 'redux-persist'; | ||
import { PersistGate } from 'redux-persist/integration/react'; | ||
|
||
const persistor = persistStore(coreStore); | ||
|
||
export const CoreProvider: React.FC<Record<string, unknown>> = ({ | ||
children, | ||
}: PropsWithChildren) => { | ||
return <Provider store={coreStore}>{children}</Provider>; | ||
return ( | ||
<Provider store={coreStore}> | ||
<PersistGate loading={null} persistor={persistor}> | ||
{children} | ||
</PersistGate> | ||
</Provider> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* eslint @typescript-eslint/no-unused-vars: 0 */ | ||
// Credit to: https://github.com/vercel/next.js/discussions/15687 | ||
import createWebStorage from 'redux-persist/lib/storage/createWebStorage'; | ||
|
||
const createNoopStorage = () => { | ||
return { | ||
getItem(_key: string) { | ||
return Promise.resolve(null); | ||
}, | ||
setItem(_key: string, value: string) { | ||
return Promise.resolve(value); | ||
}, | ||
removeItem(_key: string) { | ||
return Promise.resolve(); | ||
}, | ||
}; | ||
}; | ||
|
||
const storage = | ||
typeof window !== 'undefined' | ||
? createWebStorage('local') | ||
: createNoopStorage(); | ||
|
||
export const sessionStorage = | ||
typeof window !== 'undefined' | ||
? createWebStorage('session') | ||
: createNoopStorage(); | ||
|
||
export default storage; |
Oops, something went wrong.