UNPKG

x-weather

Version:

A collection of web components implementing portions of the OpenWeatherMap API.

4 lines (2 loc) 169 B
import { FORECAST_WEATHER_UPDATE } from '../../types' export const updateForecastWeather = ({ json }) => ({ type: FORECAST_WEATHER_UPDATE, payload: JSON.parse(json) })