diff --git a/code/22 Authentication/08-route-protection/src/util/auth.js b/code/22 Authentication/08-route-protection/src/util/auth.js index 972305aed..2e0d49278 100644 --- a/code/22 Authentication/08-route-protection/src/util/auth.js +++ b/code/22 Authentication/08-route-protection/src/util/auth.js @@ -15,4 +15,5 @@ export function checkAuthLoader() { if (!token) { return redirect('/auth'); } -} \ No newline at end of file + return null; +}