checkpoint

This commit is contained in:
rizky 2024-10-08 05:52:35 -07:00
parent 4ca0e8db3a
commit 16789717cf
2 changed files with 6 additions and 1 deletions

View File

@ -119,6 +119,12 @@ export const TypeDropdown: FC<{
reload();
}, []);
useEffect(() => {
if (fm.save_status === 'saved') {
reload();
}
}, [fm.save_status]);
let value =
typeof arg.opt_get_value === "function"
? arg.opt_get_value({

View File

@ -12,7 +12,6 @@ export const toast = {
toasting: [] as any[],
dismiss: () => {
if (!timer.timeout) {
console.log(toast.toasting);
if (toast.toasting.length > 0) {
for (const t of toast.toasting) {
sonner.dismiss(t.id);