File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { worker } from './providers/fakerest/fakeServer';
77const container = document . getElementById ( 'root' ) ;
88const root = createRoot ( container ! ) ;
99
10- worker . start ( { onUnhandledRequest : 'bypass' } ) . then ( ( ) => {
10+ worker . start ( { onUnhandledRequest : 'bypass' , quiet : true } ) . then ( ( ) => {
1111 root . render (
1212 < React . StrictMode >
1313 < App />
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if (!container) {
1010const root = createRoot ( container ) ;
1111
1212fakeServerWorker ( process . env . REACT_APP_DATA_PROVIDER ?? '' )
13- . then ( worker => worker . start ( { onUnhandledRequest : 'bypass' } ) )
13+ . then ( worker => worker . start ( { onUnhandledRequest : 'bypass' , quiet : true } ) )
1414 . then ( ( ) => {
1515 root . render ( < App /> ) ;
1616 } ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { worker } from './fakeServer';
2020const container = document . getElementById ( 'root' ) as HTMLElement ;
2121const root = createRoot ( container ) ;
2222
23- worker . start ( { onUnhandledRequest : 'bypass' } ) . then ( ( ) => {
23+ worker . start ( { onUnhandledRequest : 'bypass' , quiet : true } ) . then ( ( ) => {
2424 root . render (
2525 < React . StrictMode >
2626 < Admin
You can’t perform that action at this time.
0 commit comments