From 974d1c4c2d30550a69b87bb3ad2fada5bb94f5b6 Mon Sep 17 00:00:00 2001 From: overflowerror Date: Sun, 22 Aug 2021 17:06:08 +0200 Subject: [PATCH] feat: updating thread now works in frontend --- frontend/src/components/AccountCard/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/AccountCard/index.tsx b/frontend/src/components/AccountCard/index.tsx index 88115a5..b6c79d1 100644 --- a/frontend/src/components/AccountCard/index.tsx +++ b/frontend/src/components/AccountCard/index.tsx @@ -141,9 +141,9 @@ const AccountCard: FunctionComponent = ( .then(onSuccess) .catch(onFailure) } else { - // TODO - console.log("we shouldn't be here") - console.log(thread) + endpoint.update(thread) + .then(onSuccess) + .catch(onFailure) } }} onCancel={() => {