Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
fix: fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
EiffelFly committed Oct 13, 2023
1 parent f8a4885 commit 4fa6d83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { InputPropertyItem } from "./InputPropertyItem";

const selector = (store: PipelineBuilderStore) => ({
expandAllNodes: store.expandAllNodes,
testModeEnabled: store.testModeEnabled,
});

export const InputProperties = ({
Expand All @@ -27,10 +26,7 @@ export const InputProperties = ({
inputSchema: Nullable<OpenAPIV3.SchemaObject>;
traces: Nullable<Record<string, PipelineTrace>>;
}) => {
const { expandAllNodes, testModeEnabled } = usePipelineBuilderStore(
selector,
shallow
);
const { expandAllNodes } = usePipelineBuilderStore(selector, shallow);

const [exapndInputs, setExpandInputs] = React.useState(false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const OutputProperties = ({
<div className="flex flex-col gap-y-2">
{items.map((item) => (
<OutputPropertyItem
key={item.path ? item.path : item.title}
title={property.title ?? null}
path={property.path ?? null}
/>
Expand All @@ -84,6 +85,7 @@ export const OutputProperties = ({

return (
<OutputPropertyItem
key={property.path ? property.path : property.title}
title={property.title ?? null}
path={property.path ?? null}
/>
Expand Down

0 comments on commit 4fa6d83

Please sign in to comment.