pager modal + car address section

This commit is contained in:
hamid zarghami
2025-12-22 16:19:58 +03:30
parent 90a72f837e
commit 9e9caca2ec
2 changed files with 2 additions and 7 deletions
+2 -5
View File
@@ -1,8 +1,6 @@
'use client';
import React, { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { motion } from 'framer-motion';
import AnimatedBottomSheet from '@/components/bottomsheet/AnimatedBottomSheet';
import NotificationBellIcon from '@/components/icons/NotificationBellIcon';
import PlusIcon from '@/components/icons/PlusIcon';
@@ -19,7 +17,6 @@ type PagerModalProps = {
};
export default function PagerModal({ visible, onClose }: PagerModalProps) {
const { t } = useTranslation('parallels', { keyPrefix: 'Pager' });
const [tableNumber, setTableNumber] = useState(1);
const { mutate: mutatePager, isPending } = usePager();
const [message, setMessage] = useState('');
@@ -99,10 +96,10 @@ export default function PagerModal({ visible, onClose }: PagerModalProps) {
<div className='mt-7 flex gap-4 items-center'>
<div className='flex-1'>
<Button pending={isPending} onClick={handlePage}>پیج کنید</Button>
<Button className='h-10' pending={isPending} onClick={handlePage}>پیج کنید</Button>
</div>
<div className='flex-1'>
<OutlineButton onClick={handleClose} variant="outline" className="w-full bg-white rounded-normal p-3 font-normal text-sm">انصراف</OutlineButton>
<OutlineButton onClick={handleClose} variant="outline" className="w-full bg-white rounded-normal h-10 font-normal text-sm">انصراف</OutlineButton>
</div>
</div>