checkpoint
This commit is contained in:
parent
4ca0e8db3a
commit
16789717cf
|
|
@ -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({
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue