mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-27 20:22:33 +08:00
[resumes][feat] Add counts for mobile filters on browse page (#448)
This commit is contained in:
@ -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,
|
||||
)}
|
||||
|
Reference in New Issue
Block a user