This commit is contained in:
josc146
2023-05-20 15:15:49 +08:00
parent 358705625a
commit 4a5fceb014
4 changed files with 88 additions and 64 deletions

View File

@@ -225,6 +225,9 @@ export async function checkUpdate() {
});
});
}, 500);
}, {
autoClose: false,
position: 'bottom-left'
});
}
} else {
@@ -248,8 +251,6 @@ export function toastWithButton(text: string, buttonText: string, onClickButton:
<Button appearance="primary" onClick={onClickButton}>{buttonText}</Button>
</div>,
{
autoClose: false,
position: 'bottom-left',
type: 'info',
...options
});