Skip to content

Commit

Permalink
fixed linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fde31 committed Dec 12, 2024
1 parent faaf594 commit 896816d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/actions/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Dagre from "@dagrejs/dagre";
import { Connection, EdgeChange, NodeChange, ReactFlowInstance } from "reactflow";
import { Map as ImmuMap } from "immutable";
import { ActionBase, AppThunk } from "../lib/store";
import { getConnection, getConnectionByNodesAndPorts, getConnections, getControlNodes, getNode, getNodes, getPatcherNodes, getSystemNodes } from "../selectors/graph";
import { getConnection, getConnectionByNodesAndPorts, getConnections, getNode, getNodes } from "../selectors/graph";
import { GraphConnectionRecord, GraphNode, GraphNodeRecord, GraphPatcherNode, NodeType } from "../models/graph";
import { showNotification } from "./notifications";
import { NotificationLevel } from "../models/notification";
Expand Down
2 changes: 1 addition & 1 deletion src/components/elements/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { parseThemeColor, useMantineTheme } from "@mantine/core";
import { forwardRef, RefObject } from "react";
import { IconProps } from "@mdi/react/dist/IconProps";

export const IconElement = forwardRef<SVGSVGElement, IconProps>(({ color, ...props }, ref) => {
export const IconElement = forwardRef<SVGSVGElement, IconProps>(function WrappedIconElement({ color, ...props }, ref) {
const theme = useMantineTheme();

let iconColor: string | undefined = undefined;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Index: FunctionComponent<Record<string, never>> = () => {
labels: { confirm: "Confirm", cancel: "Cancel" },
onConfirm: () => dispatch(generateEditorLayout())
});
}, []);
}, [dispatch]);

const onEditorZoomIn = useCallback(() => {
dispatch(editorZoomIn());
Expand Down

0 comments on commit 896816d

Please sign in to comment.