fix eslint errors
This commit is contained in:
@@ -192,7 +192,7 @@
|
||||
}
|
||||
|
||||
if ('userAgentData' in navigator) {
|
||||
if (!(navigator.userAgentData as any).mobile) type = 'text';
|
||||
if (!(navigator.userAgentData as { mobile: boolean }).mobile) type = 'text';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user