eslint: enable no-implicit-coercion

This commit is contained in:
Simon Ser committed 2024-11-16 12:18:17 +01:00
1 parent 8ff1cd8317
commit 9c2beac7dd
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -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) {