feat: divide imports by types (#35)
All checks were successful
it-academy/dry-wash-pl/pipeline/pr-main This commit looks good

This commit is contained in:
Ильназ 2024-11-23 15:37:06 +03:00
parent 3b47e1dcdf
commit 0b30ce6571
3 changed files with 6 additions and 4 deletions

View File

@ -11,10 +11,11 @@ import {
useDisclosure, useDisclosure,
Flex, Flex,
} from '@chakra-ui/react'; } from '@chakra-ui/react';
import { useTranslation } from 'react-i18next';
import { mastersData } from '../../mocks'; import { mastersData } from '../../mocks';
import MasterItem from '../MasterItem'; import MasterItem from '../MasterItem';
import MasterDrawer from '../MasterDrawer'; import MasterDrawer from '../MasterDrawer';
import { useTranslation } from 'react-i18next';
const TABLE_HEADERS = [ const TABLE_HEADERS = [
'name' as const, '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 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 { ordersData } from '../../mocks';
import OrderItem from '../OrderItem'; import OrderItem from '../OrderItem';
import { useTranslation } from 'react-i18next';
import { OrderProps } from '../OrderItem/OrderItem'; import { OrderProps } from '../OrderItem/OrderItem';
const Orders = () => { const Orders = () => {

View File

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