Skip to content

Commit

Permalink
address some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenLYZ committed Oct 30, 2022
1 parent 27271f9 commit df88336
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const FilterConfigurationLink: React.FC<FCBProps> = ({
[dispatch, close],
);

const onClick = useCallback(() => {
const handleClick = useCallback(() => {
setOpen(true);
}, [setOpen]);

Expand All @@ -65,7 +65,7 @@ export const FilterConfigurationLink: React.FC<FCBProps> = ({
{...getFilterBarTestId('create-filter')}
buttonStyle="link"
buttonSize="xsmall"
onClick={onClick}
onClick={handleClick}
>
{children}
</HeaderButton>
Expand Down

0 comments on commit df88336

Please sign in to comment.