fix: warning judgement error

This commit is contained in:
QiShaoXuan
2022-11-01 15:49:15 +08:00
parent 5abd2cca78
commit 00db944192

View File

@@ -13,7 +13,7 @@ const minimumChromeVersion = 102;
export const shouldShowWarning = () => {
return (
!getIsMobile &&
!getIsMobile() &&
(!getIsChrome() || getChromeVersion() < minimumChromeVersion)
);
};