Unverified Commit 037b78a5 authored by Florent Chehab's avatar Florent Chehab
Browse files

fix(front - univ info provider)

parent 963aa367
......@@ -10,8 +10,8 @@ import CountryService from "../../services/data/CountryService";
function UnivInfoProvider({ univId, children }) {
const univIdParsed = parseInt(univId, 10);
const univ = UniversityService.getUniversityById(univIdParsed);
const country = CountryService.getCountryForCountryId(univ.country)
const {city} = univ.city
const country = CountryService.getCountryForCountryId(univ.country);
const { city } = univ;
const countryId = country.id;
return (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment