Skip to content

Commit 795e4bc

Browse files
committed
Fixes tests
1 parent 70c94e3 commit 795e4bc

File tree

2 files changed

+3
-1
lines changed
  • __tests__/shared/components/challenge-listing/Filters/__snapshots__
  • src/shared/components/challenge-listing/Filters/FiltersPanel

2 files changed

+3
-1
lines changed

__tests__/shared/components/challenge-listing/Filters/__snapshots__/FiltersPanel.jsx.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ exports[`Matches shallow shapshot 1`] = `
6565
Sub community
6666
</label>
6767
<Select
68+
autoBlur={true}
6869
id="community-select"
6970
onChange={[Function]}
7071
options={
@@ -202,6 +203,7 @@ exports[`Matches shallow shapshot 2`] = `
202203
Sub community
203204
</label>
204205
<Select
206+
autoBlur={true}
205207
id="community-select"
206208
onChange={[Function]}
207209
options={

src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default function FiltersPanel({
8383
id="community-select"
8484
onChange={selectCommunity}
8585
options={communityOps}
86-
autoBlur={true}
86+
autoBlur
8787
simpleValue
8888
value={selectedCommunityId}
8989
/>

0 commit comments

Comments
 (0)