Skip to content

Commit

Permalink
Fix inconsistent semi-colons in faq section (#4490)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ssevve authored Feb 16, 2023
1 parent 44e4798 commit c9204ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/faq/CodeStructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ axiosInstance.interceptors.request.use(config => {
Then, in your entry point file, inject the store into the API setup file:

```js title="index.js"
import store from "./app/store".
import {injectStore} from "./common/api";
injectStore(store);
import store from "./app/store"
import {injectStore} from "./common/api"
injectStore(store)
```

This way, the application setup is the only code that has to import the store, and the file dependency graph avoids circular dependencies.

0 comments on commit c9204ee

Please sign in to comment.