FitTrackee/mpwo_client/src/reducers/initial.js
2018-05-03 21:43:03 +02:00

50 lines
754 B
JavaScript

const emptyData = {
data: [],
}
export default {
message: '',
messages: [],
user: {
id: '',
username: '',
email: '',
createdAt: '',
isAdmin: false,
isAuthenticated: false,
firstName: '',
lastName: '',
bio: '',
location: '',
birthDate: '',
picture: false
},
formData: {
formData: {
username: '',
email: '',
password: '',
passwordConf: '',
}
},
formProfile: {
formProfile: {
firstName: '',
lastName: '',
bio: '',
location: '',
birthDate: '',
password: '',
passwordConf: '',
}
},
activities: {
...emptyData,
},
// check if storing gpx content is OK
gpx: null,
sports: {
...emptyData,
}
}