From 32d08378af82562d723554501deb1fdbcc59bdfa Mon Sep 17 00:00:00 2001 From: nuintun Date: Mon, 18 Nov 2024 15:37:33 +0800 Subject: [PATCH] feat: Update code --- app/js/hooks/createStyles.tsx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/app/js/hooks/createStyles.tsx b/app/js/hooks/createStyles.tsx index 22491160..a129063e 100644 --- a/app/js/hooks/createStyles.tsx +++ b/app/js/hooks/createStyles.tsx @@ -2,19 +2,12 @@ * @module createStyles */ -import { - AbstractCalculator, - CSSInterpolation, - token2CSSVar, - unit, - useCSSVarRegister, - useStyleRegister -} from '@ant-design/cssinjs'; -import { genCalc } from '@ant-design/cssinjs-utils'; import { isNumber, isString } from '/js/utils/utils'; import { memo, ReactElement, useId, useMemo } from 'react'; +import { AbstractCalculator, genCalc } from '@ant-design/cssinjs-utils'; import { AliasToken, GlobalToken, OverrideToken } from 'antd/es/theme/interface'; import useToken, { ignore, unitless as unitlessSeeds } from 'antd/es/theme/useToken'; +import { CSSInterpolation, token2CSSVar, unit, useCSSVarRegister, useStyleRegister } from '@ant-design/cssinjs'; interface CSSVar { key: string;