reset view on modals

This commit is contained in:
Arjun Patel
2022-01-17 18:37:41 -08:00
parent 3e60426ba6
commit 53c48cc4e5
+1
View File
@@ -99,6 +99,7 @@ export default function KeyboardContextProvider({ children }) {
); );
const handleModalType = (modalType: ShowModalType) => { const handleModalType = (modalType: ShowModalType) => {
handleResetView();
setShowModalType(modalType); setShowModalType(modalType);
}; };