state array working

This commit is contained in:
metacryst
2025-12-26 04:22:22 -06:00
parent c4560aba37
commit eb6975c7de
2 changed files with 50 additions and 17 deletions

View File

@@ -33,7 +33,7 @@ window.testSuites.push( class testState {
.fontSize(() => {return this.state.logs.length > 0 ? [2, em] : [1, em]})
})
.onAppear(() => {
this.state.logs = ["one", "two"]
this.state.logs.push("one")
})
}
}