Dashboard()
- Source:
This is component for Dashboard page, it handles 3 states (user => datas of the user, loader => if true, Loader component is rendered, error => if true, Error component is rendered)
Returns:
If loader and error are false, the Dashboard is rendered, with first name, nutriments and some charts with fetched informations of the user