diff --git a/src/components/Popup.tsx b/src/components/Popup.tsx index b564a65..8e2267c 100644 --- a/src/components/Popup.tsx +++ b/src/components/Popup.tsx @@ -14,15 +14,12 @@ interface Props { export default function Popup(props: Props): JSX.Element { return (
{ - if (event.key.match("Escape")) props.setState(false); - }} - tabIndex={0} >
+
- {props.children}