eslint: enable no-implicit-coercion
This commit is contained in:
parent
8ff1cd8317
commit
9c2beac7dd
4 changed files with 4 additions and 3 deletions
|
@ -515,7 +515,7 @@ export default class App extends Component {
|
|||
this.setState((state) => {
|
||||
let updated;
|
||||
[id, updated] = State.createBuffer(state, name, serverID, client);
|
||||
isNew = !!updated;
|
||||
isNew = Boolean(updated);
|
||||
return updated;
|
||||
});
|
||||
if (isNew) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue