use "browser" instead of checking before using "browser"

This commit is contained in:
Pas 2025-10-29 22:33:39 -06:00
parent b51ecc3d87
commit 9abac2469a

View file

@ -42,7 +42,7 @@ export const isSafari = () => {
export const getBrowserAPI = () => {
if (isSafari()) {
return typeof browser !== 'undefined' ? browser : chrome;
return browser;
}
if (isFirefox()) {
return browser;