Skip to content

Commit

Permalink
remove unnecessary async keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jan 14, 2022
1 parent a79b5bf commit 9de8094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/runtime/client/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class Router {
addEventListener('sveltekit:trigger_prefetch', trigger_prefetch);

/** @param {MouseEvent} event */
addEventListener('click', async (event) => {
addEventListener('click', (event) => {
if (!this.enabled) return;

// Adapted from https://github.com/visionmedia/page.js
Expand Down

0 comments on commit 9de8094

Please sign in to comment.