fix toast position

This commit is contained in:
rizky 2024-08-15 23:31:52 -07:00
parent 393ae7cf57
commit 53c2009509
1 changed files with 1 additions and 1 deletions

View File

@ -931,7 +931,7 @@ export const TableList: FC<TableListProp> = ({
} }
}} }}
> >
{toaster_el && createPortal(<Toaster cn={cn} />, toaster_el)} {toaster_el && createPortal(<Toaster position={toast.position} cn={cn} />, toaster_el)}
{local.status !== "ready" ? ( {local.status !== "ready" ? (
<div className="c-flex c-flex-col c-space-y-2 c-m-4 c-absolute c-left-0 c-top-0"> <div className="c-flex c-flex-col c-space-y-2 c-m-4 c-absolute c-left-0 c-top-0">