Skip to content

Commit

Permalink
chore: refactor imports and remove unused code
Browse files Browse the repository at this point in the history
- Add `core-js` package as a dependency in `package.json`
- Remove `ress.css`, `global.scss`, and `overrides.scss` imports from `main.ts` and `root.tsx`
- Add `polyfill.ts` file with imports and function calls
- Remove `MantineProvider` and `useColorScheme` imports from `App.tsx`
- Add `mantineTheme` import in `App.tsx`
- Remove `enableMapSet()` and `setAutoFreeze(true)` calls from `main.ts` and `root.tsx`
- Remove unused imports in `App.tsx` and `root.tsx`
- Remove unused variables in `App.tsx` and `root.tsx`
- Move `octokit` initialization to a separate file

Signed-off-by: Eva1ent <let@ik.me>
  • Loading branch information
Rel1cx committed Jul 17, 2023
1 parent abb7395 commit 47523bd
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 142 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@swan-io/chicane": "1.4.1",
"@tauri-apps/api": "1.4.0",
"@total-typescript/ts-reset": "0.4.2",
"core-js": "3.31.1",
"immer": "10.0.2",
"jotai": "2.2.2",
"jotai-immer": "0.2.0",
Expand Down
Loading

0 comments on commit 47523bd

Please sign in to comment.