Skip to content

Commit

Permalink
refactor(flat-components): use ESM version locale in antd (#1818)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Jan 17, 2023
1 parent 9ad109a commit f1e16ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/flat-components/src/theme/antd.mod.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useMemo } from "react";

import { ConfigProvider } from "antd";
import zhCN from "antd/lib/locale/zh_CN";
import enUS from "antd/lib/locale/en_US";
import zhCN from "antd/es/locale/zh_CN";
import enUS from "antd/es/locale/en_US";

export interface AntdProviderProps {
lang: string;
Expand Down

0 comments on commit f1e16ae

Please sign in to comment.