mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix detect-browser load
This commit is contained in:
1 parent
539b47d55b
commit
4f0d8be661
3 files changed
+3
-3
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import browser from 'detect-browser';
|
||||
import * as browser from 'detect-browser';
|
||||
|
||||
export function parse(str: string) {
|
||||
return browser.parseUserAgent(str);
|
||||
|
||||
Reference in new issue
Block a user