diff --git a/frontend/src/components/Sidebar.js b/frontend/src/components/Sidebar.js index cdc0068e..42c63412 100644 --- a/frontend/src/components/Sidebar.js +++ b/frontend/src/components/Sidebar.js @@ -89,7 +89,7 @@ const Sidebar = () => { <> { - ui.toggleModal({ type: MODAL_TYPES.SIGNUP }); + overlay.toggleModal({ type: MODAL_TYPES.SIGNUP }); ui.setSidebarToggled(false); }} > @@ -98,7 +98,7 @@ const Sidebar = () => { { - ui.toggleModal({ type: MODAL_TYPES.LOGIN }); + overlay.toggleModal({ type: MODAL_TYPES.LOGIN }); ui.setSidebarToggled(false); }} >