diff --git a/src/context/store.tsx b/src/context/store.tsx index 9899b5f..cc5a5b1 100644 --- a/src/context/store.tsx +++ b/src/context/store.tsx @@ -75,7 +75,7 @@ const StoreContextProvider = ({ }, apiUrl: environmentType?.toLowerCase() === 'testing' ? TEST_URL : API_URL, apiKey: - environmentType?.toLowerCase() === 'testing' ? SANDBOX_KEY : apiKey, + environmentType?.toLowerCase() === 'testing' && !apiKey ? SANDBOX_KEY : apiKey, route, searchQuery, }),