diff --git a/frontend/src/components/files/UploadURDF.tsx b/frontend/src/components/files/UploadURDF.tsx index fc14c191..cc01b884 100644 --- a/frontend/src/components/files/UploadURDF.tsx +++ b/frontend/src/components/files/UploadURDF.tsx @@ -3,11 +3,7 @@ import { useTheme } from "hooks/theme"; import React, { useEffect, useRef, useState } from "react"; import { Alert, Col } from "react-bootstrap"; -interface URDFUploadProps { - onUploadSuccess: (url: string) => void; -} - -const URDFUploadComponent = ({}: URDFUploadProps) => { +const URDFUploadComponent = () => { const [selectedFile, setSelectedFile] = useState(null); const [uploadStatus, setUploadStatus] = useState(null); const [fileError, setFileError] = useState(null); diff --git a/frontend/src/hooks/alerts.tsx b/frontend/src/hooks/alerts.tsx index dda42a4a..5d6ccf22 100644 --- a/frontend/src/hooks/alerts.tsx +++ b/frontend/src/hooks/alerts.tsx @@ -30,6 +30,7 @@ interface AlertQueueContextProps { alerts: Map; removeAlert: (alertId: string) => void; addAlert: (alert: string | ReactNode, kind: AlertType) => void; + // eslint-disable-next-line addErrorAlert: (alert: any) => void; } @@ -72,6 +73,7 @@ export const AlertQueueProvider = (props: AlertQueueProviderProps) => { ); const addErrorAlert = useCallback( + // eslint-disable-next-line (alert: any | undefined) => { addAlert(humanReadableError(alert), "error"); }, diff --git a/store/app/routers/listings.py b/store/app/routers/listings.py index cd7dfe4d..13ea3bf0 100644 --- a/store/app/routers/listings.py +++ b/store/app/routers/listings.py @@ -13,7 +13,6 @@ get_session_user_with_write_permission, maybe_get_user_from_api_key, ) -from store.utils import new_uuid listings_router = APIRouter()