Skip to content

Commit

Permalink
ui: use strict mode in dev only
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Dec 2, 2019
1 parent f269496 commit 3e93d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const store: StoreOptions<RootState> = {
modules: {
collection,
},
strict: true,
strict: process.env.NODE_ENV !== 'production',
};

export default new Vuex.Store<RootState>(store);

0 comments on commit 3e93d04

Please sign in to comment.