From 997f93217ab7c4c749e5f8915325fec3df9e061d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Erik=20St=C3=B8wer?= Date: Mon, 30 Oct 2023 13:38:47 +0100 Subject: [PATCH] fix useCallback deps --- client-next/src/components/SearchBar/TransitModeSelect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-next/src/components/SearchBar/TransitModeSelect.tsx b/client-next/src/components/SearchBar/TransitModeSelect.tsx index c1b2edb0706..a5db4793991 100644 --- a/client-next/src/components/SearchBar/TransitModeSelect.tsx +++ b/client-next/src/components/SearchBar/TransitModeSelect.tsx @@ -43,7 +43,7 @@ export function TransitModeSelect({ }); } }, - [tripQueryVariables.modes, setTripQueryVariables], + [tripQueryVariables, setTripQueryVariables], ); return (