feat : add toast too
This commit is contained in:
@@ -27,7 +27,7 @@ export function AutosaveStatus({ state, issues = [], onSave, conflictVersion, ca
|
||||
</AlertDescription>
|
||||
</Alert> : null}
|
||||
</div>;
|
||||
if (state === "conflict") return <Alert variant="destructive" className="max-w-xl">
|
||||
if (state === "conflict") return <Alert id="autosave-conflict" variant="destructive" className="max-w-xl scroll-m-6">
|
||||
<AlertCircleIcon aria-hidden="true" />
|
||||
<AlertTitle>มีการบันทึกข้อมูลใหม่จากผู้แก้ไขคนอื่น</AlertTitle>
|
||||
<AlertDescription>
|
||||
|
||||
Reference in New Issue
Block a user