Skip to content

Instantly share code, notes, and snippets.

View BenjErgizerBunny's full-sized avatar

Benji BenjErgizerBunny

  • Toronto
View GitHub Profile
toScreenTwo = async () => {
const { isLoggedIn, user} = this.state;
try {
if (!isLoggedIn) {
const response = await http.post('/v1/signup/user', {
user,
})
for (var value in response.data) {
await this.state.tableData2.push(value);
}