mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
fix: should compatible with cssinjs < 1.15 (#44091)
* fix: should compatible with cssinjs <= 1.16 * chore: comment
This commit is contained in:
parent
e767502bdb
commit
5423649bd9
@ -75,6 +75,9 @@ export default function useToken(): [
|
||||
salt,
|
||||
override: { override: rootDesignToken, ...components },
|
||||
getComputedToken,
|
||||
// formatToken will not be consumed after 1.15.0 with getComputedToken.
|
||||
// But token will break if @ant-design/cssinjs is under 1.15.0 without it
|
||||
formatToken,
|
||||
},
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user