Skip to content

Commit

Permalink
fix gallery is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
GraemeFulton committed Apr 19, 2024
1 parent 9d59e40 commit be98dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/buildGallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const getToolboxLogo = ({ post }) => {
return logo;
};

export const getToolboxFeaturedImage = ({ post, logo }) => {
export const getToolboxFeaturedImage = ({ post, logo , gallery}) => {
const tool = post.attributes;

let featuredImage = tool.legacyFeaturedImage?.mediaItemUrl
Expand Down

0 comments on commit be98dd9

Please sign in to comment.