Removed unused variable

This commit is contained in:
Mitchell McCaffrey 2020-03-20 14:49:40 +11:00
parent 247505bb93
commit c25566f682

View File

@ -8,7 +8,7 @@ const defaultMapSize = 22;
function AddMapButton({ handleMapChange }) { function AddMapButton({ handleMapChange }) {
const fileInputRef = useRef(); const fileInputRef = useRef();
function openImageDialog(e) { function openImageDialog() {
if (fileInputRef.current) { if (fileInputRef.current) {
fileInputRef.current.click(); fileInputRef.current.click();
} }