Skip to content

Commit

Permalink
EditListingPage.duck: fix image upload (dublicate images shown)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnito committed Mar 16, 2022
1 parent ad771f1 commit c00c956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/EditListingPage/EditListingPage.duck.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default function reducer(state = initialState, action = {}) {
case SHOW_LISTINGS_REQUEST:
return { ...state, showListingsError: null };
case SHOW_LISTINGS_SUCCESS:
return state;
return { ...state, images: {}, imageOrder: [], removedImageIds: [] };

case SHOW_LISTINGS_ERROR:
// eslint-disable-next-line no-console
Expand Down

0 comments on commit c00c956

Please sign in to comment.