chore(ui): lint

This commit is contained in:
psychedelicious
2025-07-16 15:15:31 +10:00
parent 55b14c8aaf
commit d97e73a565
8 changed files with 7 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ interface Props {
nodeId: string;
}
const InvocationNodeClassificationIcon = ({ nodeId }: Props) => {
const InvocationNodeClassificationIcon = (_: Props) => {
const classification = useNodeClassification();
if (!classification || classification === 'stable') {

View File

@@ -25,7 +25,7 @@ export const InvocationNodeInfoIcon = memo(({ nodeId }: Props) => {
InvocationNodeInfoIcon.displayName = 'InvocationNodeInfoIcon';
const TooltipContent = memo(({ nodeId }: { nodeId: string }) => {
const TooltipContent = memo((_: { nodeId: string }) => {
const notes = useInvocationNodeNotes();
const label = useNodeUserTitleSafe();
const version = useNodeVersion();

View File

@@ -41,7 +41,6 @@ InputFieldGate.displayName = 'InputFieldGate';
const Fallback = memo(
({
nodeId,
fieldName,
formatLabel,
hasTemplate,

View File

@@ -9,7 +9,7 @@ type Props = {
fieldName: string;
};
export const InputFieldResetToDefaultValueIconButton = memo(({ nodeId, fieldName }: Props) => {
export const InputFieldResetToDefaultValueIconButton = memo(({ fieldName }: Props) => {
const { t } = useTranslation();
const { isValueChanged, resetToDefaultValue } = useInputFieldDefaultValue(fieldName);

View File

@@ -12,7 +12,7 @@ interface Props {
fieldName: string;
}
export const InputFieldTooltipContent = memo(({ nodeId, fieldName }: Props) => {
export const InputFieldTooltipContent = memo(({ fieldName }: Props) => {
const { t } = useTranslation();
const fieldInstance = useInputFieldInstance(fieldName);

View File

@@ -23,7 +23,7 @@ export const OutputFieldGate = memo(({ nodeId, fieldName, children }: Props) =>
OutputFieldGate.displayName = 'OutputFieldGate';
const Fallback = memo(({ nodeId, fieldName }: Props) => {
const Fallback = memo(({ fieldName }: Props) => {
const { t } = useTranslation();
const name = useOutputFieldName(fieldName);

View File

@@ -9,7 +9,7 @@ interface Props {
fieldName: string;
}
export const OutputFieldTooltipContent = memo(({ nodeId, fieldName }: Props) => {
export const OutputFieldTooltipContent = memo(({ fieldName }: Props) => {
const fieldTemplate = useOutputFieldTemplate(fieldName);
const fieldTypeName = useFieldTypeName(fieldTemplate.type);
const { t } = useTranslation();

View File

@@ -27,7 +27,7 @@ const NodeTemplateInspector = () => {
export default memo(NodeTemplateInspector);
const Content = memo(({ nodeId }: { nodeId: string }) => {
const Content = memo((_: { nodeId: string }) => {
const { t } = useTranslation();
const template = useNodeTemplateOrThrow();