mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-08 17:22:11 +08:00
updates to handle more than one weather widget
This commit is contained in:
@@ -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