Skip to content

Commit

Permalink
fix: [stakeholder] change filter type to Person and remove password a…
Browse files Browse the repository at this point in the history
…nd salt fields
  • Loading branch information
gwynndp committed Jun 20, 2022
1 parent 679dad8 commit 156ffbb
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions src/components/Stakeholders/Add.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { StakeholdersContext } from 'context/StakeholdersContext';

const useStyles = makeStyles({
root: {
flexGrow: '1',
width: '48%',
margin: '5px',
'& .MuiFormControl-fullWidth': {
width: '100%',
Expand Down Expand Up @@ -68,7 +68,7 @@ function AddStakeholder() {
value: 'Organization',
},
{
name: 'Grower',
name: 'Person',
value: 'Person',
},
];
Expand Down Expand Up @@ -246,28 +246,6 @@ function AddStakeholder() {
onKeyDown={handleEnterPress}
/>
</FormControl>
<FormControl xs={12} sm={6} className={classes.root}>
<TextField
className={classes.textField}
label="Password"
variant="outlined"
name="password"
onChange={handleChange}
value={data.password}
onKeyDown={handleEnterPress}
/>
</FormControl>
<FormControl xs={12} sm={6} className={classes.root}>
<TextField
className={classes.textField}
label="Secret Phrase (salt)"
variant="outlined"
name="salt"
onChange={handleChange}
value={data.salt}
onKeyDown={handleEnterPress}
/>
</FormControl>
<FormControl xs={12} sm={6} className={classes.root}>
<TextField
className={classes.textField}
Expand Down

0 comments on commit 156ffbb

Please sign in to comment.