From 67ba3baff0ef166a032d4dc7856faa58973c86ce Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Sun, 12 Jul 2020 16:47:00 -0600 Subject: [PATCH] Fix lint warnings --- resources/scripts/components/server/files/UploadButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); };