Address review feedback

This commit is contained in:
Robin
2024-07-12 14:15:27 -04:00
parent 41083c0f9e
commit 599d6fd007
4 changed files with 8 additions and 11 deletions

View File

@@ -36,3 +36,8 @@ if (/android/i.test(navigator.userAgent)) {
} else {
platform = "desktop";
}
export const isFirefox = (): boolean => {
const { userAgent } = navigator;
return userAgent.includes("Firefox");
};