Skip to content

Commit

Permalink
DSEGOG-341 Remove console.log and fix hacktimer import order
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvdavies committed Aug 16, 2024
1 parent dc92290 commit d960d45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
// it puts all timer functionality in a web worker to avoid browsers throttling
// timers when main window is hidden (needed for popups to be more responsive
// in cases like main OG window tabbed out, or minimized etc)
import axios from 'axios';
import 'hacktimer';
//
import axios from 'axios';
import log from 'loglevel';
import React from 'react';
import ReactDOMClient from 'react-dom/client';
Expand Down
1 change: 0 additions & 1 deletion src/mocks/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export const handlers = [
return HttpResponse.json(sessionsJson, { status: 200 });
}),
http.get('/sessions/:id', async ({ request }) => {
console.log(request.url);
const url = new URL(request.url);
const session_id = url.pathname.replace('/sessions/', '');
const sessionData = sessionsJson.find(
Expand Down

0 comments on commit d960d45

Please sign in to comment.