You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { Weather } from "../../data/stub";
|
|
import { FETCH_WEATHER, FETCH_WEATHER_SEARCHED } from "../constants";
|
|
|
|
export const setWeatherSearched = (weather: Weather[]) => {
|
|
return {
|
|
type: FETCH_WEATHER_SEARCHED,
|
|
payload: weather,
|
|
};
|
|
} |