mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
Update BottomModal.tsx
This commit is contained in:
parent
5d67c70728
commit
9973b8ae74
@ -87,8 +87,12 @@ const BottomModal = forwardRef<BottomModalHandle, BottomModalProps>(
|
||||
}));
|
||||
|
||||
const dismiss = async () => {
|
||||
await onCloseModalPressed?.();
|
||||
await trueSheetRef.current?.dismiss();
|
||||
try {
|
||||
await onCloseModalPressed?.();
|
||||
await trueSheetRef.current?.dismiss();
|
||||
} catch (error) {
|
||||
console.error('Error during dismiss:', error);
|
||||
}
|
||||
};
|
||||
|
||||
const renderTopRightButton = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user