From d355c71daab348ee01806bb3563dda0aad75cea5 Mon Sep 17 00:00:00 2001 From: mvaivre Date: Wed, 16 Oct 2024 17:44:12 +0200 Subject: [PATCH] Fix BottomModal types --- apps/mobile-wallet/src/features/modals/BottomModalBase.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile-wallet/src/features/modals/BottomModalBase.tsx b/apps/mobile-wallet/src/features/modals/BottomModalBase.tsx index d05c6ef76..098f1bec0 100644 --- a/apps/mobile-wallet/src/features/modals/BottomModalBase.tsx +++ b/apps/mobile-wallet/src/features/modals/BottomModalBase.tsx @@ -25,7 +25,7 @@ import styled from 'styled-components/native' import BottomModalHeader from '~/features/modals/BottomModalHeader' import { useBottomModalState } from '~/features/modals/useBottomModalState' -export interface BottomModalBaseProps extends ReturnType { +export interface BottomModalBaseProps { modalId: number children: ReactNode onClose?: () => void @@ -50,7 +50,7 @@ const BottomModalBase = ({ title, isContentScrollable, children -}: BottomModalBaseProps) => ( +}: BottomModalBaseProps & ReturnType) => (