Skip to content

Commit 882546c

Browse files
committed
Use strict equality
1 parent a1d543f commit 882546c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/router/appRouter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class AppRouter {
107107
const normalizedPath = location.pathname.replace(/^!/, '');
108108
const fullPath = normalizedPath + location.search;
109109

110-
if (fullPath == this.lastPath) {
110+
if (fullPath === this.lastPath) {
111111
console.debug('[appRouter] path did not change, resolving promise');
112112
this.onViewShow();
113113
}

0 commit comments

Comments
 (0)