my code that I am trying
let suggestions
suggestions = href.indexOf('/register/company/step-two/internship') > -1) {
    console.log('here')
    cities = axios.get('/get/cities')
        .then((response) => {
            return response.data.cities
            // suggestions.map(city => city.text)
        })
        .catch(error => console.log(error))
this returns a Promise but I want the data
I also tried
axios.get('/get/cities')
        .then((response) => {
            suggestions = response.data.cities
        })
        .catch(error => console.log(error))
but no go so any help on this will be appreciated..
