Skip to content

Commit d97e73a

Browse files
chore(ui): lint
1 parent 55b14c8 commit d97e73a

File tree

8 files changed

+7
-8
lines changed

8 files changed

+7
-8
lines changed

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/InvocationNodeClassificationIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface Props {
99
nodeId: string;
1010
}
1111

12-
const InvocationNodeClassificationIcon = ({ nodeId }: Props) => {
12+
const InvocationNodeClassificationIcon = (_: Props) => {
1313
const classification = useNodeClassification();
1414

1515
if (!classification || classification === 'stable') {

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/InvocationNodeInfoIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const InvocationNodeInfoIcon = memo(({ nodeId }: Props) => {
2525

2626
InvocationNodeInfoIcon.displayName = 'InvocationNodeInfoIcon';
2727

28-
const TooltipContent = memo(({ nodeId }: { nodeId: string }) => {
28+
const TooltipContent = memo((_: { nodeId: string }) => {
2929
const notes = useInvocationNodeNotes();
3030
const label = useNodeUserTitleSafe();
3131
const version = useNodeVersion();

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/InputFieldGate.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ InputFieldGate.displayName = 'InputFieldGate';
4141

4242
const Fallback = memo(
4343
({
44-
nodeId,
4544
fieldName,
4645
formatLabel,
4746
hasTemplate,

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/InputFieldResetToDefaultValueIconButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type Props = {
99
fieldName: string;
1010
};
1111

12-
export const InputFieldResetToDefaultValueIconButton = memo(({ nodeId, fieldName }: Props) => {
12+
export const InputFieldResetToDefaultValueIconButton = memo(({ fieldName }: Props) => {
1313
const { t } = useTranslation();
1414
const { isValueChanged, resetToDefaultValue } = useInputFieldDefaultValue(fieldName);
1515

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/InputFieldTooltipContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface Props {
1212
fieldName: string;
1313
}
1414

15-
export const InputFieldTooltipContent = memo(({ nodeId, fieldName }: Props) => {
15+
export const InputFieldTooltipContent = memo(({ fieldName }: Props) => {
1616
const { t } = useTranslation();
1717

1818
const fieldInstance = useInputFieldInstance(fieldName);

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/OutputFieldGate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const OutputFieldGate = memo(({ nodeId, fieldName, children }: Props) =>
2323

2424
OutputFieldGate.displayName = 'OutputFieldGate';
2525

26-
const Fallback = memo(({ nodeId, fieldName }: Props) => {
26+
const Fallback = memo(({ fieldName }: Props) => {
2727
const { t } = useTranslation();
2828
const name = useOutputFieldName(fieldName);
2929

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/OutputFieldTooltipContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface Props {
99
fieldName: string;
1010
}
1111

12-
export const OutputFieldTooltipContent = memo(({ nodeId, fieldName }: Props) => {
12+
export const OutputFieldTooltipContent = memo(({ fieldName }: Props) => {
1313
const fieldTemplate = useOutputFieldTemplate(fieldName);
1414
const fieldTypeName = useFieldTypeName(fieldTemplate.type);
1515
const { t } = useTranslation();

invokeai/frontend/web/src/features/nodes/components/sidePanel/inspector/InspectorTemplateTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const NodeTemplateInspector = () => {
2727

2828
export default memo(NodeTemplateInspector);
2929

30-
const Content = memo(({ nodeId }: { nodeId: string }) => {
30+
const Content = memo((_: { nodeId: string }) => {
3131
const { t } = useTranslation();
3232
const template = useNodeTemplateOrThrow();
3333

0 commit comments

Comments
 (0)