Skip to content

Commit

Permalink
Update preview_image.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dobri1408 authored Aug 21, 2024
1 parent ba63a8f commit aa3b15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/preview_image.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from '@plone/volto/constants/ActionTypes';

export const preview_image = (middlewares) => [
(store) => (next) => async (action) => {
(store) => (next) => (action) => {
if (![CREATE_CONTENT, UPDATE_CONTENT].includes(action.type)) {
return next(action);
}
Expand Down

0 comments on commit aa3b15e

Please sign in to comment.