fix: correct button layout in English locale (#4277)

Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
handsomeFu 2024-08-30 13:36:36 +08:00 committed by GitHub
parent 388e5b5cb3
commit cfbe379ee4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ async function checkForUpdates() {
} }
function handleNotice(versionTag: string) { function handleNotice(versionTag: string) {
const { dismiss } = toast({ const { dismiss } = toast({
action: h('div', [ action: h('div', { class: 'inline-flex items-center' }, [
h( h(
ToastAction, ToastAction,
{ {
@ -94,7 +94,7 @@ function handleNotice(versionTag: string) {
} }
function start() { function start() {
// 5 // checkUpdatesInterval(1)
timer.value = setInterval( timer.value = setInterval(
checkForUpdates, checkForUpdates,
props.checkUpdatesInterval * 60 * 1000, props.checkUpdatesInterval * 60 * 1000,