Skip to content

Commit

Permalink
Fix: remove unused code #24
Browse files Browse the repository at this point in the history
  • Loading branch information
luckylooky2 committed Jun 2, 2024
1 parent b1dd9b8 commit 198417d
Showing 1 changed file with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,17 @@ export const optionPickerFactory = <Model extends VariableWithOptions | Variable
// const showOptions = picker.id === variable.id; // true: dropdown 열림(picker), false: dropdown 닫힘(variable)

return (
<>
<div className="variable-link-wrapper">
<ClickOutsideWrapper onClick={this.onHideOptions}>
<OptionDropdown
variable={variable}
picker={picker}
onToggle={this.onToggleOption}
showOptions={this.onShowOptions}
/>
</ClickOutsideWrapper>
{/* {showOptions ? this.renderOptions(picker) : this.renderLink(variable)} */}
</div>
</>
<div className="variable-link-wrapper">
<ClickOutsideWrapper onClick={this.onHideOptions}>
<OptionDropdown
variable={variable}
picker={picker}
onToggle={this.onToggleOption}
showOptions={this.onShowOptions}
/>
</ClickOutsideWrapper>
{/* {showOptions ? this.renderOptions(picker) : this.renderLink(variable)} */}
</div>
);
}

Expand Down

0 comments on commit 198417d

Please sign in to comment.