Skip to content

Commit

Permalink
fix(typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
esinx committed Sep 24, 2023
1 parent 1bd3efc commit 7edc92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/renderPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function renderPage<T>(
auth.authenticated = true
}
return { ...pageProps, ...auth, options, permissions }
} catch (error)
} catch (error) {
if (ctx.res) {
ctx.res.writeHead(307, { Location: '/error' })
ctx.res.end()
Expand Down

0 comments on commit 7edc92c

Please sign in to comment.