checkpoint
This commit is contained in:
parent
4ca0e8db3a
commit
16789717cf
|
|
@ -119,6 +119,12 @@ export const TypeDropdown: FC<{
|
||||||
reload();
|
reload();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
if (fm.save_status === 'saved') {
|
||||||
|
reload();
|
||||||
|
}
|
||||||
|
}, [fm.save_status]);
|
||||||
|
|
||||||
let value =
|
let value =
|
||||||
typeof arg.opt_get_value === "function"
|
typeof arg.opt_get_value === "function"
|
||||||
? arg.opt_get_value({
|
? arg.opt_get_value({
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ export const toast = {
|
||||||
toasting: [] as any[],
|
toasting: [] as any[],
|
||||||
dismiss: () => {
|
dismiss: () => {
|
||||||
if (!timer.timeout) {
|
if (!timer.timeout) {
|
||||||
console.log(toast.toasting);
|
|
||||||
if (toast.toasting.length > 0) {
|
if (toast.toasting.length > 0) {
|
||||||
for (const t of toast.toasting) {
|
for (const t of toast.toasting) {
|
||||||
sonner.dismiss(t.id);
|
sonner.dismiss(t.id);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue