fix: enable mocks in SB build

This commit is contained in:
MTG2000
2022-04-20 13:30:12 +03:00
parent 1e3f54cfff
commit bae8f3a2d5

View File

@@ -22,7 +22,7 @@ import { apolloClient } from '../apollo';
// -------------------------------------------
if (process.env.NODE_ENV === 'development') {
if (process.env.REACT_APP_ENABLE_MOCKS) {
worker.start({
onUnhandledRequest: 'bypass'
})