Removed creationDate & lastModifiedDate from Group; fixed flow issuses

This commit is contained in:
Philipp Czora
2018-07-31 19:05:06 +02:00
parent d532c36204
commit 58fbf4ebf2
4 changed files with 14 additions and 11 deletions

View File

@@ -18,7 +18,18 @@ export interface State {
class GroupForm extends React.Component<Props, State> {
constructor(props) {
super(props);
this.state = {};
this.state = {
group: {
name: "",
description: "",
_embedded: {
members: []
},
_links: {},
members: [],
type: "",
}
};
}
onSubmit = (event: Event) => {
event.preventDefault();