Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
eunjae-lee committed Feb 21, 2025
1 parent 413b1fd commit a526b83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function MultiSelectFilterOptions({ column }: MultiSelectFilterOptionsPro
label: optionLabel,
value: optionValue,
section,
} = typeof option === "string" ? { label: option, value: option } : option;
} = typeof option === "string" ? { label: option, value: option, section: undefined } : option;

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function SingleSelectFilterOptions({ column }: SingleSelectFilterOptionsP
label: optionLabel,
value: optionValue,
section,
} = typeof option === "string" ? { label: option, value: option } : option;
} = typeof option === "string" ? { label: option, value: option, section: undefined } : option;

return (
<>
Expand Down

0 comments on commit a526b83

Please sign in to comment.