Skip to content

Commit 8c50b68

Browse files
duplicate values
1 parent 2372a68 commit 8c50b68

File tree

1 file changed

+0
-2
lines changed
  • frontend/src/components/Popups/GraphEnhancementDialog/EnitityExtraction

1 file changed

+0
-2
lines changed

frontend/src/components/Popups/GraphEnhancementDialog/EnitityExtraction/GraphPattern.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ const GraphPattern: React.FC<TupleCreationProps> = ({
9797
switch (type) {
9898
case 'source':
9999
setSourceOptions((prev) => checkUniqueValue(prev, newOption));
100-
setTargetOptions((prev) => checkUniqueValue(prev, newOption));
101100
onPatternChange(newOption, selectedType as OptionType, selectedTarget as OptionType);
102101
break;
103102
case 'type':
@@ -106,7 +105,6 @@ const GraphPattern: React.FC<TupleCreationProps> = ({
106105
break;
107106
case 'target':
108107
setTargetOptions((prev) => checkUniqueValue(prev, newOption));
109-
setSourceOptions((prev) => checkUniqueValue(prev, newOption));
110108
onPatternChange(selectedSource as OptionType, selectedType as OptionType, newOption);
111109
break;
112110
default:

0 commit comments

Comments
 (0)