Skip to content

Commit 6228a3d

Browse files
authored
feat(auth): add option to disable retry on error for useAuth hook (#101)
* feat(FilmGrid): add initial loading state and improve loading indicators * feat(FilmDirector): update to support multiple directors and improve rendering * feat(auth): add option to disable retry on error for useAuth hook
1 parent ef8a4f5 commit 6228a3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/auth.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const useAuth = ({ middleware, redirectIfAuthenticated } = {}) => {
2424
revalidateIfStale: false,
2525
revalidateOnFocus: false,
2626
revalidateOnReconnect: false,
27+
shouldRetryOnError: false,
2728
},
2829
);
2930

0 commit comments

Comments
 (0)