From 751d3b8c8b321fbbc9c5caec735dad594b7b26e2 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 24 Nov 2023 16:09:38 +0200 Subject: [PATCH] removed: todo --- src/devhub/page/admin/index.jsx | 2 +- src/devhub/page/admin/moderatorsTab.jsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devhub/page/admin/index.jsx b/src/devhub/page/admin/index.jsx index 828083df4..f952031b4 100644 --- a/src/devhub/page/admin/index.jsx +++ b/src/devhub/page/admin/index.jsx @@ -40,7 +40,7 @@ function createEditTeam({ editPost, useLabels, members, - contractCall, // TODO typescript edit_member || add_member + contractCall, // typescript edit_member || add_member }) { let txn = []; console.log("🚀 ~ file: index.jsx:48 ~ teamNames:", teamNames); diff --git a/src/devhub/page/admin/moderatorsTab.jsx b/src/devhub/page/admin/moderatorsTab.jsx index f5a445cbf..62cac5555 100644 --- a/src/devhub/page/admin/moderatorsTab.jsx +++ b/src/devhub/page/admin/moderatorsTab.jsx @@ -60,9 +60,9 @@ return ( list: moderators, }, setList: setModerators, - - validate: (newItem) => true, // TODO - invalidate: () => null, // TODO check if id exists on near + // Could add a check to see if it is an valid account id. + validate: (newItem) => true, + invalidate: () => null, }} />