aboutsummaryrefslogtreecommitdiff
path: root/src/components/Modal.tsx
diff options
context:
space:
mode:
authorNikita Tchayka <nikitatchayka@gmail.com>2023-09-17 17:30:47 +0100
committerNikita Tchayka <nikitatchayka@gmail.com>2023-09-17 17:30:47 +0100
commit257c43e352a75d6e56bf08afcdaa95a36f316b89 (patch)
tree10c89ad8bc225c070e68abe43289d6f0cf47a936 /src/components/Modal.tsx
parent3478dcbbd6cd0023d6152519e51f87fcbcc8501d (diff)
downloadneohaskell.github.io-257c43e352a75d6e56bf08afcdaa95a36f316b89.tar.gz
neohaskell.github.io-257c43e352a75d6e56bf08afcdaa95a36f316b89.tar.bz2
neohaskell.github.io-257c43e352a75d6e56bf08afcdaa95a36f316b89.zip
Update disclaimer
Diffstat (limited to 'src/components/Modal.tsx')
-rw-r--r--src/components/Modal.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx
index 55ad174..80d482e 100644
--- a/src/components/Modal.tsx
+++ b/src/components/Modal.tsx
@@ -22,7 +22,10 @@ export default function Modal({
}: ModalProps) {
return (
open && (
- <div className="z-999 fixed left-0 top-0 flex h-full w-full items-center justify-center bg-black bg-opacity-50 py-10">
+ <div
+ className="z-999 fixed left-0 top-0 flex h-full w-full items-center justify-center bg-black bg-opacity-50 py-10"
+ onClick={() => onOk()}
+ >
<div className="max-h-full w-full max-w-xl overflow-y-auto sm:rounded-2xl bg-white">
<div className="w-full">
<div className="mx-auto my-20 max-w-[400px] flex flex-col gap-5">