[resumes][feat] Add counts for mobile filters on browse page (#448)

pull/449/head
Su Yin 2 years ago committed by GitHub
parent 45b15ac1b3
commit 78609f249f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -425,7 +425,10 @@ export default function ResumeHomePage() {
key={option.value}
className="[&>div>div:nth-child(1)>input]:text-primary-600 [&>div>div:nth-child(1)>input]:ring-primary-500 [&>div>div:nth-child(2)>label]:font-normal">
<CheckboxInput
label={option.label}
label={`${option.label} (${getFilterCount(
filter.label,
option.label,
)})`}
value={userFilters[filter.id].includes(
option.value,
)}

Loading…
Cancel
Save