Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperbirch1 committed Mar 20, 2024
1 parent 144841a commit 0e404df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/apps/opening-hours-editor/useDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import { useRef, useState } from "react";

declare global {
interface HTMLDialogElement {
showModal(): void;
close(): void;
}
}

const useDialog = () => {
const [dialogContent, setDialogContent] = useState<React.ReactNode>(null);

Expand Down

0 comments on commit 0e404df

Please sign in to comment.