Skip to content

Commit 58145d3

Browse files
Update ReactRedux template dependencies
1 parent 2135c30 commit 58145d3

File tree

3 files changed

+709
-96
lines changed

3 files changed

+709
-96
lines changed

templates/ReactReduxSpa/ClientApp/store/WeatherForecasts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ export const actionCreators = {
6262

6363
const unloadedState: WeatherForecastsState = { startDateIndex: null, forecasts: [], isLoading: false };
6464

65-
export const reducer: Reducer<WeatherForecastsState> = (state: WeatherForecastsState, action: KnownAction) => {
65+
export const reducer: Reducer<WeatherForecastsState> = (state: WeatherForecastsState, incomingAction: Action) => {
66+
const action = incomingAction as KnownAction;
6667
switch (action.type) {
6768
case 'REQUEST_WEATHER_FORECASTS':
6869
return {

0 commit comments

Comments
 (0)