Skip to content

Commit

Permalink
add image thumbnail for ai fix introduction modal
Browse files Browse the repository at this point in the history
  • Loading branch information
vraja-pro committed Jun 7, 2024
1 parent ddc4810 commit c63e7b7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added images/ai-fix-assessments-thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const ModalContent = () => {
),
};

const imageLink = useSelect( select => select( STORE ).selectImageLink( "ai-generator-preview.png" ), [] );
const imageLink = useSelect( select => select( STORE ).selectImageLink( "ai-fix-assessments-thumbnail.png" ), [] );
const thumbnail = useMemo( () => ( {
src: imageLink,
width: "432",
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/introductions/components/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const Content = () => {
const learnMoreLink = useSelect( select => select( STORE_NAME_INTRODUCTIONS ).selectLink( "https://yoa.st/ai-fix-assessments-upsell-learn-more" ), [] );
const upsellLink = useSelect( select => select( STORE_NAME_INTRODUCTIONS ).selectLink( "https://yoa.st/ai-fix-assessments-upsell" ), [] );

const imageLink = useSelect( select => select( STORE_NAME_INTRODUCTIONS ).selectImageLink( "ai-generator-preview.png" ), [] );
const imageLink = useSelect( select => select( STORE_NAME_INTRODUCTIONS ).selectImageLink( "ai-fix-assessments-thumbnail.png" ), [] );
const thumbnail = useMemo( () => ( {
src: imageLink,
width: "432",
Expand Down

0 comments on commit c63e7b7

Please sign in to comment.