Skip to content

Commit

Permalink
fix(no unused var): correct ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
massi-ang authored and bigadsoleiman committed Mar 29, 2024
1 parent 1aec1cb commit 3c710bf
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import RouterButton from "../wrappers/router-button";
import { Session } from "../../API";

export interface SessionsProps {
toolsOpen: boolean;
readonly toolsOpen: boolean;
}

export default function Sessions(props: SessionsProps) {
Expand Down Expand Up @@ -171,7 +171,8 @@ export default function Sessions(props: SessionsProps) {
`${selectedItems.length} ${
selectedItems.length === 1 ? "item" : "items"
} selected`,
itemSelectionLabel: ({ selectedItems }, item) => item.title!, // eslint-disable-line @typescript-eslint/no-unused-vars
// @ts-expect-error no-unused-var
itemSelectionLabel: (e, item) => item.title!,
}}
pagination={<Pagination {...paginationProps} />}
loadingText="Loading history"
Expand Down

0 comments on commit 3c710bf

Please sign in to comment.