{"ast":null,"code":"import { GET_USERS } from \"../actions/users.actions\";\nconst initialState = {};\nexport default function usersReducer() {\n  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n  let action = arguments.length > 1 ? arguments[1] : undefined;\n  switch (action.type) {\n    case GET_USERS:\n      return action.payload;\n    default:\n      return state;\n  }\n}","map":{"version":3,"names":["GET_USERS","initialState","usersReducer","state","action","type","payload"],"sources":["C:/Users/user/Desktop/05mediaSocial/client/src/reducers/users.reducer.js"],"sourcesContent":["import { GET_USERS } from \"../actions/users.actions\";\r\n\r\nconst initialState={}\r\n\r\nexport default function usersReducer(state=initialState,action){\r\n    switch(action.type){\r\n        case GET_USERS :\r\n         return action.payload\r\n        default:\r\n            return state;\r\n\r\n    }\r\n}"],"mappings":"AAAA,SAASA,SAAS,QAAQ,0BAA0B;AAEpD,MAAMC,YAAY,GAAC,CAAC,CAAC;AAErB,eAAe,SAASC,YAAY,GAA2B;EAAA,IAA1BC,KAAK,uEAACF,YAAY;EAAA,IAACG,MAAM;EAC1D,QAAOA,MAAM,CAACC,IAAI;IACd,KAAKL,SAAS;MACb,OAAOI,MAAM,CAACE,OAAO;IACtB;MACI,OAAOH,KAAK;EAAC;AAGzB"},"metadata":{},"sourceType":"module","externalDependencies":[]}