From 16ff5c7bbc552e50f65a08827047a0e2879126d9 Mon Sep 17 00:00:00 2001 From: yuyang Date: Wed, 6 Apr 2022 11:22:47 +0800 Subject: [PATCH] fix: loss css token (#58) --- package.json | 2 +- src/main.tsx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d79608..34fcf5f 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "react-redux": "^7.2.4", "react-router-dom": "^5.2.0", "tdesign-icons-react": "0.0.8", - "tdesign-react": "^0.27.0", + "tdesign-react": "^0.30.1", "tvision-color": "^1.3.1" }, "browserslist": { diff --git a/src/main.tsx b/src/main.tsx index ed3a5bb..8af6e68 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -5,6 +5,8 @@ import { HashRouter } from 'react-router-dom'; import store from 'modules/store'; import App from 'layouts/index'; +import 'tdesign-react/es/style/index.css'; + import './styles/index.less'; const renderApp = () => {