提交 f4af03b9 编写于 作者: O Olivier Tassinari 提交者: Tim Neutkens

Remove unneeded async (#4635)

Unless I'm missing something, we don't need this async. The transpiled JavaScript is much smaller 🚀
上级 91900d11
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册