From 3b4f5a8486ef9679ec563e0c27b20ff64a4a3e69 Mon Sep 17 00:00:00 2001 From: ilnaz <237x237@gmail.com> Date: Sun, 24 Nov 2024 14:57:36 +0300 Subject: [PATCH] feat: separation of imports (#40) --- src/components/MasterItem/MasterItem.tsx | 1 + src/components/OrderItem/OrderItem.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/MasterItem/MasterItem.tsx b/src/components/MasterItem/MasterItem.tsx index 05f4546..5175b56 100644 --- a/src/components/MasterItem/MasterItem.tsx +++ b/src/components/MasterItem/MasterItem.tsx @@ -1,6 +1,7 @@ import React from 'react'; import { Badge, Link, Stack, Td, Tr } from '@chakra-ui/react'; import MasterActionsMenu from '../MasterActionsMenu'; + import { getTimeSlot } from '../../lib/date-helpers'; const MasterItem = ({ name, schedule, phone }) => { diff --git a/src/components/OrderItem/OrderItem.tsx b/src/components/OrderItem/OrderItem.tsx index d4e86d8..ab12485 100644 --- a/src/components/OrderItem/OrderItem.tsx +++ b/src/components/OrderItem/OrderItem.tsx @@ -2,6 +2,7 @@ import React, { useState } from 'react'; import { Td, Tr, Link, Select } from '@chakra-ui/react'; import { useTranslation } from 'react-i18next'; import dayjs from 'dayjs'; + import { getTimeSlot } from '../../lib/date-helpers'; const statuses = [