Skip to content

Commit

Permalink
fix fir query param id filter name
Browse files Browse the repository at this point in the history
  • Loading branch information
Flyover-ArtSk authored Mar 22, 2022
1 parent 917c8e8 commit 42545e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const EventsList: React.FC<{
const [filteredEvents, setFilteredEvents] = useState<Event[]>([])
const [term, setTerm] = useState(params.get("q"))
const [idFilter, setIdFilter] = useState(
filterOptions.find(f => f.value === params.get("apiKey"))?.value ?? filterOptions[0]?.value
filterOptions.find(f => f.value === params.get("id"))?.value ?? filterOptions[0]?.value
)
const [statusFilter, setStatusFilter] = useState(
statusOptions.find(f => f.value === params.get("status"))?.value ?? statusOptions[0]?.value
Expand Down

0 comments on commit 42545e7

Please sign in to comment.