Chore/build npm (#9)

Co-authored-by: DigHuang <114602213+DigHuang@users.noreply.github.com>
Co-authored-by: Felix <24791380+vcfgv@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Haze
2026-02-09 15:10:08 +08:00
committed by GitHub
Unverified
parent 0b7f1c700e
commit de445ae3d5
37 changed files with 7359 additions and 1586 deletions

View File

@@ -548,7 +548,10 @@ export function Skills() {
setShowGatewayWarning(true);
}, 1500);
} else {
setShowGatewayWarning(false);
// Use setTimeout to avoid synchronous setState in effect
timer = setTimeout(() => {
setShowGatewayWarning(false);
}, 0);
}
return () => clearTimeout(timer);
}, [isGatewayRunning]);