-
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.
* US-1574 Mainnet!!! * Will now have mainnet wallet * Fixed config.json * Creted inversed object map * Updated rif relay version * Removed chainId from Redux Persist * Linted * Updated rif-relay sdk to version 11
- Loading branch information
1 parent
33fec1c
commit 7843a37
Showing
14 changed files
with
208 additions
and
77 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
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,14 +1,18 @@ | ||
import { Provider } from 'react-redux' | ||
import { PersistGate } from 'redux-persist/integration/react' | ||
|
||
import { store, persistor } from 'store/store' | ||
import { createNewStore } from 'store/store' | ||
|
||
import { Core } from './Core' | ||
|
||
export const CoreWithStore = () => ( | ||
<Provider store={store}> | ||
<PersistGate persistor={persistor}> | ||
<Core /> | ||
</PersistGate> | ||
</Provider> | ||
) | ||
export const CoreWithStore = () => { | ||
const { store, persistor } = createNewStore() | ||
|
||
return ( | ||
<Provider store={store}> | ||
<PersistGate persistor={persistor}> | ||
<Core /> | ||
</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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { ChainTypesByIdType } from 'shared/constants/chainConstants' | ||
|
||
import { MainStorage } from './MainStorage' | ||
|
||
export const getCurrentChainId: () => ChainTypesByIdType = () => | ||
MainStorage.get('chainId') || 31 | ||
|
||
export const setCurrentChainId = (chainId: ChainTypesByIdType) => | ||
MainStorage.set('chainId', chainId) |
Oops, something went wrong.