astryx
This commit is contained in:
@@ -3,7 +3,7 @@ import { Search, Plus, Trash2, Receipt, X, Tag, QrCode, CreditCard, PieChart, Ba
|
||||
import { useFiestaStockStatement, FIESTA_TENANT_ID } from '../services/fiestaQueries';
|
||||
import { num as fnum, str as fstr, type Row } from '../services/fiestaApi';
|
||||
import { useNotify } from './Toasts';
|
||||
import { Dialog } from '@astryxdesign/core/Dialog';
|
||||
import { AppDialog } from './AppDialog';
|
||||
import { Button } from '@astryxdesign/core/Button';
|
||||
import { IconButton } from '@astryxdesign/core/IconButton';
|
||||
import { TextInput } from '@astryxdesign/core/TextInput';
|
||||
@@ -47,7 +47,7 @@ function PosModal({
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<Dialog
|
||||
<AppDialog
|
||||
isOpen
|
||||
onOpenChange={(open) => { if (!open) onClose(); }}
|
||||
width={width}
|
||||
@@ -55,7 +55,7 @@ function PosModal({
|
||||
purpose="info"
|
||||
>
|
||||
{children}
|
||||
</Dialog>
|
||||
</AppDialog>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user