Skip to content

Commit

Permalink
Merge pull request #4451 from webkom/ivarnakken/aba-812-fix-uploading…
Browse files Browse the repository at this point in the history
…-of-image-to-gallery

Fix uploading of images to gallery
  • Loading branch information
ivarnakken committed Feb 10, 2024
2 parents 1602d93 + b5e27ce commit aae71e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/photos/components/GalleryDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const GalleryDetail = () => {

const toggleUpload = (response?: File | DropFile[]) => {
if (response) {
uploadAndCreateGalleryPicture(gallery.id, response);
dispatch(uploadAndCreateGalleryPicture(gallery.id, response));
}

setUpload(!upload);
Expand Down

0 comments on commit aae71e2

Please sign in to comment.