diff --git a/README.md b/README.md index d557647e..e71a5c98 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ TODO: - [x] Admin GUI to add voters by email address - [x] Admin GUI to add Trustees by email address - [ ] Trustee page to take part in Distribute Key Gen + - [x] Simulated - [ ] Backend assigns vote tokens and emails invitation to voters - [ ] Voter interface to cast vote - [ ] Encrypt voters vote diff --git a/src/admin/AddPeople.tsx b/src/admin/AddPeople.tsx index 4b6a793b..3359cd4f 100644 --- a/src/admin/AddPeople.tsx +++ b/src/admin/AddPeople.tsx @@ -1,10 +1,26 @@ -export const AddPeople = ({ disabled, type }: { disabled?: boolean; type: string }) => ( +import { Dispatch, SetStateAction } from 'react' + +export const AddPeople = ({ + disabled, + setPubKey, + type, +}: { + disabled?: boolean + setPubKey?: Dispatch> + type: string +}) => ( <>

Add {type} by email address, 1 per line:

-