Skip to content

Commit 77496b4

Browse files
committed
Update SelectFeeModal.tsx
1 parent 917745e commit 77496b4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

components/SelectFeeModal.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState, useRef, forwardRef, useImperativeHandle } from 'react';
1+
import React, { useState, useRef, forwardRef } from 'react';
22
import { View, Text, TouchableOpacity, TextInput, StyleSheet } from 'react-native';
33
import BottomModal, { BottomModalHandle } from './BottomModal';
44
import { useTheme } from './themes';
@@ -108,11 +108,6 @@ const SelectFeeModal = forwardRef<BottomModalHandle, SelectFeeModalProps>(
108108
},
109109
});
110110

111-
useImperativeHandle(ref, () => ({
112-
present: async () => await feeModalRef.current?.present(),
113-
dismiss: async () => await feeModalRef.current?.dismiss(),
114-
}));
115-
116111
const options: Option[] = [
117112
{
118113
label: loc.send.fee_fast,

0 commit comments

Comments
 (0)