feat: add multilingualism (#35) #39

Merged
primakov merged 4 commits from feature/i18next-multilingualism into main 2024-11-24 11:22:10 +03:00
3 changed files with 6 additions and 4 deletions
Showing only changes of commit 0b30ce6571 - Show all commits

View File

@ -11,10 +11,11 @@ import {
useDisclosure,
Flex,
} from '@chakra-ui/react';
import { useTranslation } from 'react-i18next';
import { mastersData } from '../../mocks';
import MasterItem from '../MasterItem';
import MasterDrawer from '../MasterDrawer';
import { useTranslation } from 'react-i18next';
const TABLE_HEADERS = [
'name' as const,

View File

@ -1,8 +1,9 @@
import { Box, Heading, Table, Thead, Tbody, Tr, Th } from '@chakra-ui/react';
import React from 'react';
import { Box, Heading, Table, Thead, Tbody, Tr, Th } from '@chakra-ui/react';
import { useTranslation } from 'react-i18next';
import { ordersData } from '../../mocks';
import OrderItem from '../OrderItem';
import { useTranslation } from 'react-i18next';
import { OrderProps } from '../OrderItem/OrderItem';
const Orders = () => {

View File

@ -1,4 +1,4 @@
import React, { useState } from 'react';
import React from 'react';
import LayoutArm from '../../components/LayoutArm';