Skip to content

Commit

Permalink
Poprawienie typu refOkienka w Okienku
Browse files Browse the repository at this point in the history
  • Loading branch information
damjes committed Dec 23, 2024
1 parent e81ed2b commit 64649b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/komponenty/Okienko.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import './Okienko.sass'
function Okienko(props: {
tytuł?: string,
tekst: string,
refOkienka: React.RefObject<HTMLDialogElement>,
refOkienka: React.RefObject<HTMLDialogElement | null>,
}) {
function zamknij() {
props.refOkienka.current?.close()
Expand Down

0 comments on commit 64649b9

Please sign in to comment.