Skip to content

Commit c8d5c95

Browse files
fix: eslint fail
1 parent e48501c commit c8d5c95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/AttachmentPicker/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, {useRef} from 'react';
22
import type {ValueOf} from 'type-fest';
33
import type {FileObject} from '@components/AttachmentModal';
4-
import * as Browser from '@libs/Browser';
4+
import {isMobileChrome} from '@libs/Browser';
55
import Visibility from '@libs/Visibility';
66
import CONST from '@src/CONST';
77
import type AttachmentPickerProps from './types';
@@ -10,7 +10,7 @@ import type AttachmentPickerProps from './types';
1010
* Returns acceptable FileTypes based on ATTACHMENT_PICKER_TYPE
1111
*/
1212
function getAcceptableFileTypes(type: string): string | undefined {
13-
if (type !== CONST.ATTACHMENT_PICKER_TYPE.IMAGE || Browser.isMobileChrome()) {
13+
if (type !== CONST.ATTACHMENT_PICKER_TYPE.IMAGE || isMobileChrome()) {
1414
return;
1515
}
1616

0 commit comments

Comments
 (0)