Skip to content

Commit

Permalink
add onclick for clearing filters for hub
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrahoang686 committed Dec 5, 2024
1 parent a35a28e commit 6aaa7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/components/stories/hub/hub-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default function HubContent(props: HubContentProps) {
out of {allStories.length}.
</span>
{isFiltering && (
<Button {...ButtonLinkProps} size='small'>
<Button {...ButtonLinkProps} size='small' onClick={() => onAction(FilterActions.CLEAR)}>
Clear filters <CollecticonXmarkSmall />
</Button>
)}
Expand Down

0 comments on commit 6aaa7a8

Please sign in to comment.