diff --git a/README.md b/README.md index d52f9b30..d557647e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ yarn dev TODO: - [x] Admin GUI to add voters by email address -- [ ] Admin GUI to add Trustees by email address +- [x] Admin GUI to add Trustees by email address - [ ] Trustee page to take part in Distribute Key Gen - [ ] Backend assigns vote tokens and emails invitation to voters - [ ] Voter interface to cast vote diff --git a/src/admin/AddVoters.tsx b/src/admin/AddPeople.tsx similarity index 50% rename from src/admin/AddVoters.tsx rename to src/admin/AddPeople.tsx index a6e7d8db..a4a826ef 100644 --- a/src/admin/AddVoters.tsx +++ b/src/admin/AddPeople.tsx @@ -1,8 +1,10 @@ -export const AddVoters = () => ( +export const AddPeople = ({ type }: { type: string }) => ( <> -
Add voters by email address, 1 per line:
+Add {type} by email address, 1 per line:
- +