Skip to content

Commit

Permalink
add store index changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkfman committed Dec 20, 2024
1 parent 4a3cab1 commit a35e43e
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions app/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,36 +66,6 @@ const createStoreAndPersistor = async () => {
* Initialize services after persist is completed
*/
const onPersistComplete = () => {
<<<<<<< HEAD
/**
* EngineService.initalizeEngine(store) with SES/lockdown:
* Requires ethjs nested patches (lib->src)
* - ethjs/ethjs-query
* - ethjs/ethjs-contract
* Otherwise causing the following errors:
* - TypeError: Cannot assign to read only property 'constructor' of object '[object Object]'
* - Error: Requiring module "node_modules/ethjs/node_modules/ethjs-query/lib/index.js", which threw an exception: TypeError:
* - V8: Cannot assign to read only property 'constructor' of object '[object Object]'
* - JSC: Attempted to assign to readonly property
* - node_modules/babel-runtime/node_modules/regenerator-runtime/runtime.js
* - V8: TypeError: _$$_REQUIRE(...) is not a constructor
* - TypeError: undefined is not an object (evaluating 'TokenListController.tokenList')
* - V8: SES_UNHANDLED_REJECTION
*/

store.dispatch({
type: 'TOGGLE_BASIC_FUNCTIONALITY',
basicFunctionalityEnabled:
store.getState().settings.basicFunctionalityEnabled,
});

EngineService.initalizeEngine(store);

Authentication.init(store);
AppStateEventProcessor.init(store);
LockManagerService.init(store);
=======
>>>>>>> main
endTrace({ name: TraceName.StoreInit });
// Signal that persisted data has been loaded
store.dispatch(onPersistedDataLoaded());
Expand Down

0 comments on commit a35e43e

Please sign in to comment.