Skip to content

Commit

Permalink
🐛 type of container modal
Browse files Browse the repository at this point in the history
  • Loading branch information
SMCodesP committed Jun 12, 2023
1 parent 68d3f67 commit 0e80b0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ModalContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useCalledModal } from '../hooks/useCalledModal';

export function ModalContainer() {
export const ModalContainer: React.FC = () => {
const { modalToRender } = useCalledModal();

return modalToRender && modalToRender;
}
return <>{modalToRender && modalToRender}</>;
};

0 comments on commit 0e80b0e

Please sign in to comment.