ran npm run tdd
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
module.exports = detectDeviceType = () =>
|
||||
const detectDeviceType = () =>
|
||||
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
|
||||
? 'Mobile'
|
||||
: 'Desktop';
|
||||
: 'Desktop';
|
||||
module.exports = detectDeviceType
|
||||
Reference in New Issue
Block a user