Duplicated from DeepSoft-Technologies/Deep-Search
a7634ef
1
2
3
4
5
import MobileDetect from "mobile-detect"; export const isRunningOnMobile = new MobileDetect(self.navigator.userAgent).mobile() !== null;