Skip to content

Commit a66aa7b

Browse files
committed
fixing wasm
1 parent 8463203 commit a66aa7b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ui/src/main.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Home } from './pages/home.tsx';
1010
import { Metrics } from './pages/metrics.tsx';
1111
import { UMAPGraph } from './pages/visualization.tsx';
1212
import { BEDAnalytics } from './pages/bed-analytics.tsx';
13-
import { init } from '@databio/gtars'
13+
import init from '@databio/gtars';
1414
import { 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

0 commit comments

Comments
 (0)