diff --git a/resources/scripts/components/server/files/UploadButton.tsx b/resources/scripts/components/server/files/UploadButton.tsx index c3cc78355..e328c5dc8 100644 --- a/resources/scripts/components/server/files/UploadButton.tsx +++ b/resources/scripts/components/server/files/UploadButton.tsx @@ -15,7 +15,7 @@ export default () => { const { uuid } = useServer(); const [ visible, setVisible ] = useState(false); - const handleEscapeEvent = (e: KeyboardEvent) => { + const handleEscapeEvent = () => { setVisible(false); };