const jokeReducer = (state = initialState, action) => {
    switch (action.type) {
        case LOAD_JOKE:
            return {
                ...state,