Skip to content

Commit

Permalink
IdeaCreate: add initial values for categories and labels fixes #248
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m authored and Rineee committed Feb 2, 2022
1 parent 1ce171f commit 00817e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions containers/Ideas/IdeaCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export const IdeaCreate = props => {
const [error, setError] = useState();
const [categories, setCategories] = useState([]);
const [labelChoices, setLabelChoices] = useState([]);
const [initialCategory, setInitialCategory] = useState();
const [initialLabels, setInitialLabels] = useState();
const [initialCategory, setInitialCategory] = useState('');
const [initialLabels, setInitialLabels] = useState([]);
const [description, setDescription] = useState('');
const [prevValues, setPrevValues] = useState('');

Expand Down

0 comments on commit 00817e3

Please sign in to comment.