Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed Jul 31, 2024
1 parent b2b647e commit f782e10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions frontend/src/components/files/UploadURDF.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<File | null>(null);
const [uploadStatus, setUploadStatus] = useState<string | null>(null);
const [fileError, setFileError] = useState<string | null>(null);
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/hooks/alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ interface AlertQueueContextProps {
alerts: Map<string, [string | ReactNode, AlertType]>;
removeAlert: (alertId: string) => void;
addAlert: (alert: string | ReactNode, kind: AlertType) => void;
// eslint-disable-next-line
addErrorAlert: (alert: any) => void;
}

Expand Down Expand Up @@ -72,6 +73,7 @@ export const AlertQueueProvider = (props: AlertQueueProviderProps) => {
);

const addErrorAlert = useCallback(
// eslint-disable-next-line
(alert: any | undefined) => {
addAlert(humanReadableError(alert), "error");
},
Expand Down
1 change: 0 additions & 1 deletion store/app/routers/listings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit f782e10

Please sign in to comment.