Skip to content

Commit

Permalink
fix(panel): fix fav icon
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed Feb 13, 2019
1 parent dc7ede1 commit 5f0433f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/components/MenuBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export default class MenuBar extends React.PureComponent<MenuBarProps, MenuBarSt
<button className='panel-MenuBar_Btn'
onMouseDown={this.handleIconFavMouseDown}
onClick={this.handleIconFavClick}
disabled={Boolean(searchBox.text)}
disabled={!searchBox.text}
>
<svg
className={`panel-MenuBar_Icon-fav ${isFav ? 'isActive' : ''}`}
Expand Down

0 comments on commit 5f0433f

Please sign in to comment.