From f4af03b9c8f684662c473f60c11349c82deaecf2 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sat, 23 Jun 2018 22:15:27 +0200 Subject: [PATCH] Remove unneeded async (#4635) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unless I'm missing something, we don't need this async. The transpiled JavaScript is much smaller 🚀 --- lib/router/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/router/router.js b/lib/router/router.js index 0c46aa93..174f9592 100644 --- a/lib/router/router.js +++ b/lib/router/router.js @@ -53,7 +53,7 @@ export default class Router { } } - async onPopState (e) { + onPopState (e) { if (!e.state) { // We get state as undefined for two reasons. // 1. With older safari (< 8) and older chrome (< 34)