Browse Source
* chore: rm locale-receiver * chore: export useLocale in locale * chore: comment * chore: rm locale-provider dir * docs: rm locale-provider in migration document * chore: fix regexp --------- Co-authored-by: MadCcc <1075746765@qq.com>pull/41371/head
lijianan
2 years ago
committed by
GitHub
30 changed files with 30 additions and 40 deletions
@ -1,6 +0,0 @@ |
|||||
// locale-provider 文件夹的移除需要修改 @ant-design/tools 和 antd-img-crop
|
|
||||
import useLocale from '../locale/useLocale'; |
|
||||
|
|
||||
export * from '../locale/useLocale'; |
|
||||
|
|
||||
export default useLocale; |
|
@ -1,6 +0,0 @@ |
|||||
// locale-provider 文件夹的移除需要修改 @ant-design/tools 和 antd-img-crop
|
|
||||
import locale from '../locale'; |
|
||||
|
|
||||
export * from '../locale'; |
|
||||
|
|
||||
export default locale; |
|
@ -1,7 +1,7 @@ |
|||||
import React, { memo, useContext } from 'react'; |
import React, { memo, useContext } from 'react'; |
||||
import { fireEvent, pureRender } from '../../../tests/utils'; |
import { fireEvent, pureRender } from '../../../tests/utils'; |
||||
import LocaleProvider from '../../locale'; |
import LocaleProvider from '..'; |
||||
import LocaleContext from '../../locale/context'; |
import LocaleContext from '../context'; |
||||
|
|
||||
let innerCount = 0; |
let innerCount = 0; |
||||
let outerCount = 0; |
let outerCount = 0; |
Loading…
Reference in new issue