fix: linked records redirection (#4312)

Closes: #4093 
---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Muralidhar
2024-04-04 14:31:33 +05:30
committed by GitHub
parent f58d855097
commit ff0db8d716
4 changed files with 19 additions and 4 deletions

View File

@ -67,7 +67,12 @@ export const useApolloFactory = (options: Partial<Options<any>> = {}) => {
return apolloRef.current.getClient();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [setTokenPair, isDebugMode, currentWorkspace?.currentCacheVersion, setPreviousUrl]);
}, [
setTokenPair,
isDebugMode,
currentWorkspace?.currentCacheVersion,
setPreviousUrl,
]);
useUpdateEffect(() => {
if (isDefined(apolloRef.current)) {