File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { Home } from './pages/home.tsx';
1010import { Metrics } from './pages/metrics.tsx' ;
1111import { UMAPGraph } from './pages/visualization.tsx' ;
1212import { BEDAnalytics } from './pages/bed-analytics.tsx' ;
13- import { init } from '@databio/gtars'
13+ import init from '@databio/gtars' ;
1414import { HelmetProvider } from 'react-helmet-async' ;
1515
1616// css stuff
@@ -37,14 +37,16 @@ const queryClient = new QueryClient({
3737 onError : ( error : any ) => {
3838 if ( error . response && error . response . status === 413 ) {
3939 toast . error ( `${ error . response . data . detail } ` ) ;
40- return ; }
40+ return ;
41+ }
4142 if ( error . response && error . response . status === 415 ) {
4243 toast . error ( `${ error . response . data . detail } ` ) ;
43- return ; }
44+ return ;
45+ }
4446 //
4547 // console.error(error);
4648 // toast.error(`Something went wrong: ${error.message}`);
47- }
49+ } ,
4850 } ) ,
4951} ) ;
5052
You can’t perform that action at this time.
0 commit comments