Skip to content
Snippets Groups Projects

improve front

Merged Antoine Gaudron-Desjardins requested to merge collab_front into main
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -16,9 +16,9 @@ export default function Graph({ place, type }) {
React.useEffect(() => {
axios
.get(
`${process.env.REACT_APP_BASE_URL_BACK}/${encodeURIComponent(place)}/${encodeURIComponent(
type,
)}_graph`,
`${process.env.REACT_APP_BASE_URL_BACK}/${encodeURIComponent(
place,
)}/stats/${encodeURIComponent(type)}_graph`,
)
.then((response) => {
setData(response.data);
Loading