Skip to content

Commit

Permalink
refactor: use chakra ui
Browse files Browse the repository at this point in the history
wibus-wee committed Feb 4, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent a30f6e3 commit 12c21d8
Showing 3 changed files with 1,459 additions and 66 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -17,6 +17,9 @@
"dist"
],
"dependencies": {
"@chakra-ui/react": "^2.4.9",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@headlessui/react": "^1.7.7",
"@icon-park/react": "^1.4.2",
"echarts": "^5.4.1",
1,517 changes: 1,452 additions & 65 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
@@ -4,11 +4,14 @@ import { BrowserRouter } from "react-router-dom";
import App from "./App";
import "@icon-park/react/styles/index.css";
import "./index.css";
import { ChakraProvider } from "@chakra-ui/react";

ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<BrowserRouter>
<App />
<ChakraProvider>
<App />
</ChakraProvider>
</BrowserRouter>
</React.StrictMode>
);

0 comments on commit 12c21d8

Please sign in to comment.