feat(ui): browser happy detecting

This commit is contained in:
Fu Diwei
2025-05-15 02:20:09 +08:00
parent e55e6cc512
commit 268ec4bd7f
5 changed files with 22 additions and 2 deletions

3
ui/src/utils/browser.ts Normal file
View File

@@ -0,0 +1,3 @@
export const isBrowserHappy = () => {
return typeof Promise.withResolvers === "function";
};