mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-19 07:18:06 +02:00
16 lines
334 B
JavaScript
Executable file
16 lines
334 B
JavaScript
Executable file
import * as ActionTypes from "./action-types";
|
|
import { handleActions } from "redux-actions";
|
|
|
|
const defaultState = {
|
|
list: [],
|
|
};
|
|
|
|
const handleFetchWhales = (state, {payload}) => {
|
|
return state;
|
|
};
|
|
|
|
const reducer = handleActions({
|
|
[ActionTypes.FETCH_WHALES] : handleFetchWhales
|
|
}, defaultState);
|
|
|
|
export default reducer;
|