feat: updating thread now works in frontend

This commit is contained in:
overflowerror 2021-08-22 17:06:08 +02:00
parent 3386af5533
commit 974d1c4c2d

View file

@ -141,9 +141,9 @@ const AccountCard: FunctionComponent<AccountCardProps> = (
.then(onSuccess)
.catch(onFailure)
} else {
// TODO
console.log("we shouldn't be here")
console.log(thread)
endpoint.update(thread)
.then(onSuccess)
.catch(onFailure)
}
}}
onCancel={() => {