Skip to content

Commit ec01df7

Browse files
committed
fix(eslint): replaced deprecated 'MutableRefObject' with 'RefObject'
1 parent 797f38b commit ec01df7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Mobile-Expensify

src/libs/actions/EmojiPickerAction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import type {MutableRefObject} from 'react';
2+
import type {RefObject} from 'react';
33
import type {TextInput, View} from 'react-native';
44
import type {ValueOf} from 'type-fest';
55
import type {Emoji} from '@assets/emojis/types';
@@ -12,7 +12,7 @@ type AnchorOrigin = {
1212
shiftVertical?: number;
1313
};
1414

15-
type EmojiPopoverAnchor = MutableRefObject<View | HTMLDivElement | TextInput | null>;
15+
type EmojiPopoverAnchor = RefObject<View | HTMLDivElement | TextInput | null>;
1616

1717
type OnWillShowPicker = (callback?: CloseContextMenuCallback) => void;
1818

0 commit comments

Comments
 (0)