updates to handle more than one weather widget
This commit is contained in:
1 parent
dc6b172df9
commit
7b6cbb4ee1
4 files changed
+50
-28
No files matched your search
@@ -1,9 +1,10 @@
|
||||
import Weather from "components/widgets/weather/weather";
|
||||
import WeatherApi from "components/widgets/weather/weather";
|
||||
import OpenWeatherMap from "components/widgets/openweathermap/weather";
|
||||
import Resources from "components/widgets/resources/resources";
|
||||
|
||||
const widgetMappings = {
|
||||
weather: Weather,
|
||||
weather: WeatherApi, // This key will be deprecated in the future
|
||||
weatherapi: WeatherApi,
|
||||
openweathermap: OpenWeatherMap,
|
||||
resources: Resources,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user