From e511a40df450e2f89adc438febbe269bc626928d Mon Sep 17 00:00:00 2001 From: hans Date: Fri, 7 Jan 2022 15:35:12 -0800 Subject: [PATCH] reworked strategy logic, split components --- .../react-app/src/routes/create/Create.jsx | 9 -- packages/react-app/src/routes/party/Party.jsx | 93 ++++++++++++++----- .../routes/party/components/Distribute.jsx | 12 +-- .../src/routes/party/components/Metadata.jsx | 24 +++++ .../components/{View.jsx => ViewTable.jsx} | 28 ++---- .../components/{Vote.jsx => VoteTable.jsx} | 21 ++--- .../src/routes/party/components/index.js | 5 +- 7 files changed, 120 insertions(+), 72 deletions(-) create mode 100644 packages/react-app/src/routes/party/components/Metadata.jsx rename packages/react-app/src/routes/party/components/{View.jsx => ViewTable.jsx} (66%) rename packages/react-app/src/routes/party/components/{Vote.jsx => VoteTable.jsx} (89%) diff --git a/packages/react-app/src/routes/create/Create.jsx b/packages/react-app/src/routes/create/Create.jsx index 75c721c8..6742a179 100644 --- a/packages/react-app/src/routes/create/Create.jsx +++ b/packages/react-app/src/routes/create/Create.jsx @@ -144,7 +144,6 @@ const Create = ({ address, mainnetProvider, userSigner, tx, readContracts, write Name (partyObj.name = e.currentTarget.value)} /> - Description