Skip to content

Commit

Permalink
chore: lint fixes (#6012)
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed Jun 4, 2024
1 parent 216d061 commit 16dc093
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const FormItemUploadLogoDraggable = ({
const form = Form.useFormInstance();
const fieldValue = Form.useWatch(name, form) as Media | UploadResponse;

// biome-ignore lint/correctness/useExhaustiveDependencies: false positive
const src = useMemo(() => {
if (!fieldValue) return null;

Expand Down
1 change: 0 additions & 1 deletion packages/devtools/src/components/devtools-pin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const DevtoolsPin = ({
setSelectorActive,
}: Props) => {
return (
// biome-ignore lint/a11y/useKeyWithClickEvents: <explanation>
<div role="button" className="devtools-selector-pin-box" onClick={onClick}>
<DevtoolsIcon />
<DevtoolsSelector
Expand Down
1 change: 0 additions & 1 deletion packages/devtools/src/components/devtools-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const DevtoolsSelector = ({

return (
<div style={style}>
{/* biome-ignore lint/a11y/useKeyWithClickEvents: <explanation> */}
<div
role="button"
title="Element Selector"
Expand Down
2 changes: 1 addition & 1 deletion packages/nestjs-query/test/utils/generateFilters.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { generateFilters } from "../../src/utils/index";
import { CrudFilter, LogicalFilter } from "@refinedev/core";
import type { CrudFilter, LogicalFilter } from "@refinedev/core";

describe("generateFilters", () => {
it("should generate filter based on the specified operator", () => {
Expand Down

0 comments on commit 16dc093

Please sign in to comment.