Commit f4af03b9 authored by Olivier Tassinari's avatar Olivier Tassinari Committed by Tim Neutkens

Remove unneeded async (#4635)

Unless I'm missing something, we don't need this async. The transpiled JavaScript is much smaller 🚀
parent 91900d11
...@@ -53,7 +53,7 @@ export default class Router { ...@@ -53,7 +53,7 @@ export default class Router {
} }
} }
async onPopState (e) { onPopState (e) {
if (!e.state) { if (!e.state) {
// We get state as undefined for two reasons. // We get state as undefined for two reasons.
// 1. With older safari (< 8) and older chrome (< 34) // 1. With older safari (< 8) and older chrome (< 34)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment