Skip to content

Commit

Permalink
enable redux dev tools i pre-prod
Browse files Browse the repository at this point in the history
  • Loading branch information
vebnor committed Sep 18, 2024
1 parent f26a317 commit 5e341ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sak-app/src/configureStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const isDevelopment = IS_DEV;

const configureStore = () => {
let enhancer;
if (isDevelopment) {
if (isDevelopment || window.location.href.includes('dev.intern.nav.no')) {
/* eslint-disable-next-line no-underscore-dangle */
const composeEnhancers = (window && (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) || compose;
enhancer = composeEnhancers(applyMiddleware(thunk));
Expand Down

0 comments on commit 5e341ab

Please sign in to comment.