We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77465e9 commit 078b882Copy full SHA for 078b882
client/modules/IDE/components/jump-to-definition.js
@@ -10,7 +10,8 @@ import {
10
buildProjectSymbolTable,
11
announceJump
12
} from './jump-to-def-helper';
13
-import store from '../../../index';
+import store from '../../../../client/storeInstance';
14
+
15
const traverse = require('@babel/traverse').default;
16
17
export function jumpToDefinition(pos) {
client/storeInstance.js
@@ -0,0 +1,6 @@
1
+import setupStore from './store';
2
3
+const initialState = window.__INITIAL_STATE__;
4
+const store = setupStore(initialState);
5
6
+export default store;
0 commit comments