linting stuff

This commit is contained in:
ntr
2018-09-23 12:52:54 +10:00
parent ac614030aa
commit 80ad711cde
4 changed files with 21 additions and 10 deletions
+7 -2
View File
@@ -12,7 +12,7 @@ function renderLogin({ account, submitLogin }) {
<div>
<div className="field">
<p className="control has-icons-left has-icons-right">
<input className="input" type="email" placeholder="Email" onChange={e => details.name = e.target.value} />
<input className="input" type="email" placeholder="Email" onChange={e => (details.name = e.target.value)} />
<span className="icon is-small is-left">
<i className="fas fa-user" />
</span>
@@ -23,7 +23,12 @@ function renderLogin({ account, submitLogin }) {
</div>
<div className="field">
<p className="control has-icons-left">
<input className="input" type="password" placeholder="Password" onChange={e => details.password = e.target.value} />
<input
className="input"
type="password"
placeholder="Password"
onChange={e => (details.password = e.target.value)}
/>
<span className="icon is-small is-left">
<i className="fas fa-lock" />
</span>