Skip to content

Commit

Permalink
fix: Enable production mocking (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamleigh authored Dec 31, 2024
1 parent 9d41afd commit cf9031e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ import "./assets/scss/soaricons.scss";
import App from './App.tsx'

async function enableMocking() {
if ( 'development' !== process.env.NODE_ENV ) {
return;
}

const { worker } = await import( './mocks/browser' )

// `worker.start()` returns a Promise that resolves
Expand Down

0 comments on commit cf9031e

Please sign in to comment.