MSP-3107 add ru locale

This commit is contained in:
veselovnk committed 2024-04-17 16:49:21 +03:00
1 parent 7557a2267e
commit c60a8dc825
1 file changed
+2 -1
+2 -1
View File
@@ -1,4 +1,5 @@
import { ConfigProvider } from 'antd' import { ConfigProvider } from 'antd'
import ruRu from 'antd/locale/ru_RU'
import { useState } from 'react' import { useState } from 'react'
import { lightTheme } from '@constants/theme.ts' import { lightTheme } from '@constants/theme.ts'
@@ -15,7 +16,7 @@ const App = () => {
return ( return (
<div className="app"> <div className="app">
<Context.Provider value={{ setTheme }}> <Context.Provider value={{ setTheme }}>
<ConfigProvider theme={themes}> <ConfigProvider theme={themes} locale={ruRu}>
<Routers /> <Routers />
</ConfigProvider> </ConfigProvider>
</Context.Provider> </Context.Provider>