add locales

This commit is contained in:
Primakov Alexandr Alexandrovich
2024-11-04 11:31:59 +03:00
parent 65e20202fb
commit f435d7b25c
8 changed files with 185 additions and 40 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import React from 'react'
import { Navigate, Route, Routes } from 'react-router-dom'
import { Container } from '@chakra-ui/react'
import { URLs } from './__data__/urls'
@@ -13,7 +14,7 @@ export const Dashboard = () => {
path={URLs.baseUrl}
element={<Navigate replace to={URLs.toNotFound.url} />}
/>
<Route path={URLs.by.url} element={<ByPage />} />
<Route path={URLs.by.url} element={<Container maxW="container.xl"><ByPage /></Container>} />
<Route path="*" element={<NotFound />} />
</Routes>
)