Skip to content

Commit

Permalink
fix: hide env dropdown on configure
Browse files Browse the repository at this point in the history
  • Loading branch information
naman-bruno committed Jan 17, 2025
1 parent 3c8cb70 commit f792e7a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ const EnvironmentSelector = ({ collection }) => {
<IconDatabaseOff size={18} strokeWidth={1.5} />
<span className="ml-2">No Environment</span>
</div>
<div className="dropdown-item border-top" onClick={handleSettingsIconClick}>
<div className="dropdown-item border-top" onClick={() => {
handleSettingsIconClick();
dropdownTippyRef.current.hide();
}}>
<div className="pr-2 text-gray-600">
<IconSettings size={18} strokeWidth={1.5} />
</div>
Expand Down

0 comments on commit f792e7a

Please sign in to comment.