Skip to content

Commit

Permalink
rename fn
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperkristensen committed Nov 11, 2024
1 parent d1c4c44 commit b337773
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const DataTableFilterDateContent = ({
[instance, filter]
)

const handleSelectCustom = React.useCallback(
const onSelectCustom = React.useCallback(
(event: Event) => {
event.preventDefault()

Expand Down Expand Up @@ -256,7 +256,7 @@ const DataTableFilterDateContent = ({
</DropdownMenu.RadioGroup>
{!disableRangeOption && (
<DropdownMenu.Item
onSelect={handleSelectCustom}
onSelect={onSelectCustom}
className="flex items-center gap-2"
>
<div className="flex size-[15px] items-center justify-center">
Expand Down

0 comments on commit b337773

Please sign in to comment.