feat: add RTK for master
This commit is contained in:
@@ -3,8 +3,8 @@ import { Td, Tr, Link, Select } from '@chakra-ui/react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { MasterProps } from '../MasterItem/MasterItem';
|
||||
import { getTimeSlot } from '../../lib';
|
||||
import { Master } from '../../models/api/master';
|
||||
import { armService } from '../../api/arm';
|
||||
|
||||
const statuses = [
|
||||
@@ -26,9 +26,9 @@ export type OrderProps = {
|
||||
status?: GetArrItemType<typeof statuses>;
|
||||
phone?: string;
|
||||
location?: string;
|
||||
master: MasterProps;
|
||||
master: Master;
|
||||
notes: '';
|
||||
allMasters: MasterProps[];
|
||||
allMasters: Master[];
|
||||
id: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user