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.
1 line
878 B
1 line
878 B
{"ast":null,"code":"import { FETCH_FAVORITE_CITY } from \"../constants\";\nexport var setFavoriteCity = function setFavoriteCity(city) {\n return {\n type: FETCH_FAVORITE_CITY,\n payload: city\n };\n};","map":{"version":3,"names":["FETCH_FAVORITE_CITY","setFavoriteCity","city","type","payload"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/redux/actions/setFavoriteCity.ts"],"sourcesContent":["import { City } from '../../data/stub';\nimport {ADD_FAVORITE_CITY, FETCH_FAVORITE_CITY} from '../constants';\n\nexport const setFavoriteCity = (city: City | null) => {\n return {\n type: FETCH_FAVORITE_CITY,\n payload: city,\n };\n}"],"mappings":"AACA,SAA2BA,mBAAmB;AAE9C,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAe,CAAIC,IAAiB,EAAK;EACpD,OAAO;IACLC,IAAI,EAAEH,mBAAmB;IACzBI,OAAO,EAAEF;EACX,CAAC;AACH,CAAC"},"metadata":{},"sourceType":"module"} |