Skip to content

Commit

Permalink
III-5846 - Rename debouncedInput
Browse files Browse the repository at this point in the history
  • Loading branch information
brampauwelyn committed Oct 18, 2023
1 parent 4d5812e commit de95c5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/organizers/create/steps/UrlStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ const UrlStep = ({
name: ['nameAndUrl.url'],
});

const debouncedInput = useDebounce(searchInput, 275);
const debouncedSearchInput = useDebounce(searchInput, 275);

const getOrganizersByWebsiteQuery = useGetOrganizersByWebsiteQuery(
{
website: debouncedInput,
website: debouncedSearchInput,
},
{ enabled: !!debouncedInput && isValidUrl(debouncedInput) },
{ enabled: !!debouncedSearchInput && isValidUrl(debouncedSearchInput) },
);

const existingOrganizer: Organizer | undefined =
Expand Down

0 comments on commit de95c5e

Please sign in to comment.