Skip to content

Commit

Permalink
lint format
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiscauwel committed May 22, 2024
1 parent 2824859 commit 35269b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ router.beforeEach(async (to, from, next) => {
}

let new_next = next;
for (let middleware of middlewares) {
for (const middleware of middlewares) {
const context: MiddlewareContext = { to, from, next: new_next, router };
const { next: returned_next, final } = await middleware(context);
if (final) {
Expand Down

0 comments on commit 35269b7

Please sign in to comment.