Update ESLint and Prettier

This commit is contained in:
Zaid Abdulla committed 2020-07-27 20:30:13 -07:00
1 parent 5a9e03db2c
commit ac980116bd
110 files changed
+2993 -2794

No files matched your search

+5 -5
View File
@@ -31,7 +31,7 @@ const component: ClosureComponent = (): Component => {
m(
"button",
{
onclick: e => {
onclick: (e) => {
e.target.disabled = true;
store
.logOut()
@@ -39,12 +39,12 @@ const component: ClosureComponent = (): Component => {
location.hash = "";
location.reload();
})
.catch(err => {
.catch((err) => {
e.target.disabled = false;
notifications.push("error", err.message);
});
return false;
}
},
},
"Log out"
)
@@ -56,13 +56,13 @@ const component: ClosureComponent = (): Component => {
"a",
{
href:
"#!/login?" + m.buildQueryString({ continue: m.route.get() })
"#!/login?" + m.buildQueryString({ continue: m.route.get() }),
},
"Log in"
)
);
}
}
},
};
};