Skip to content

Commit 9dce146

Browse files
committed
new ui pr workflow
1 parent 6c78d32 commit 9dce146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/hooks/useUserAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default function useUserAgent() {
22
const userAgent = navigator.userAgent.toLowerCase();
33

4-
return userAgent.indexOf("win") != -1 ? "win" : "mac";
4+
return userAgent.indexOf("win") !== -1 ? "win" : "mac";
55
}

0 commit comments

Comments
 (0)