Skip to content

Commit

Permalink
Fix missed props destructure (#3344)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinbinnie authored Feb 18, 2025
1 parent 4d754ef commit 097dcfa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/renderer/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export type Props = {
footerDivider?: boolean;
appendedContent?: React.ReactNode;
headerButton?: React.ReactNode;
headerContent?: React.ReactNode;
};

export const Modal: React.FC<Props> = ({
Expand Down Expand Up @@ -72,6 +73,7 @@ export const Modal: React.FC<Props> = ({
footerDivider,
appendedContent,
headerButton,
headerContent,
}) => {
const [showState, setShowState] = useState<boolean>();
const backdropRef = useRef<HTMLDivElement>(null);
Expand Down Expand Up @@ -233,6 +235,7 @@ export const Modal: React.FC<Props> = ({
</div>
}
</div>
{headerContent}
<button
type='button'
className='close'
Expand Down

0 comments on commit 097dcfa

Please # to comment.