File size: 768 Bytes
f5071ca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
const INITIAL_STATE = {
collection: [
{
id: 1,
title: "Popular",
start: 0,
end: 10
},
{
id: 2,
title: "Top Rated",
start: 10,
end: 20
},
{
id: 3,
title: "Highest Grossing",
start: 20,
end: 30
},
{
id: 4,
title: "New Releases",
start: 30,
end: 40
},
{
id: 5,
title: "Most Liked",
start: 40,
end: 50
},
{
id: 6,
title: "Trending Now",
start: 50,
end: 60
}
]
};
const collectionReducer = (state = INITIAL_STATE, action) => {
switch (action.type) {
default:
return state;
}
};
export default collectionReducer;
|