farahat80/react-open-weather

useOpenWeather not found in the package version 1.1.1

Closed this issue · 1 comments

Hello there!

Trying to setup this weather component, seems amazing. I followed the instructions of your main github page, but when I try to import and use the "useOpenWeather" function, I get an "undefined" object.

Maybe these functions are not exported in the main package?

Sorry, this wasn't exactly true. I installed the 1.1.1 version updating the 0.6.5 version but my package manager refused to install it because the 1.1.1 version requires node 10.15.3, so the "useOpenWeather" wasn't found on the 0.6.5 version, correct thing.

I'm closing this.