Skip to content

Commit cce7717

Browse files
committed
apply review comment null > undefined
1 parent a7232fc commit cce7717

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/src/platform-get-resources/src/project-resource-filter.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default function ProjectResourceFilter({
3030
localizedAllText,
3131
}: ProjectResourceFilterProps) {
3232
const isFiltered = value !== 'all';
33-
const selectedOption = isFiltered ? options.find((opt) => opt.key === value) : null;
33+
const selectedOption = isFiltered ? options.find((opt) => opt.key === value) : undefined;
3434
const Icon = selectedOption ? selectedOption.icon : Filter;
3535

3636
return (

0 commit comments

Comments
 (0)