[offers][fix] fix empty value (#486)

pull/498/head
Zhang Ziqing 2 years ago committed by GitHub
parent e8aa1c9fda
commit 960ffdc8dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,6 +47,8 @@ export default function OffersHomePage() {
category: 'engagement', category: 'engagement',
label: 'Filter by job title', label: 'Filter by job title',
}); });
} else {
setjobTitleFilter('');
} }
}} }}
/> />
@ -62,6 +64,8 @@ export default function OffersHomePage() {
category: 'engagement', category: 'engagement',
label: 'Filter by company', label: 'Filter by company',
}); });
} else {
setCompanyFilter('');
} }
}} }}
/> />

Loading…
Cancel
Save