Skip to content

Commit fa203e1

Browse files
adamrayabendvc
andauthored
Update packages/template-retail-react-app/app/page-designer/assets/image-with-text/index.jsx
Co-authored-by: Ben Chypak <bchypak@mobify.com>
1 parent bf0d7bd commit fa203e1

File tree

1 file changed

+3
-3
lines changed
  • packages/template-retail-react-app/app/page-designer/assets/image-with-text

1 file changed

+3
-3
lines changed

packages/template-retail-react-app/app/page-designer/assets/image-with-text/index.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import {isAbsoluteURL} from '../../utils'
2323
*/
2424
export const ImageWithText = ({ITCLink, ITCText, image, heading, alt}) => {
2525
const hasCaption = ITCText || heading
26-
const isAbsoulte = isAbsoluteURL(ITCLink)
27-
const LinkWrapper = isAbsoulte ? ChakraLink : Link
28-
const linkProps = isAbsoulte ? {href: ITCLink} : {to: ITCLink}
26+
const isAbsolute = isAbsoluteURL(ITCLink)
27+
const LinkWrapper = isAbsolute ? ChakraLink : Link
28+
const linkProps = isAbsolute ? {href: ITCLink} : {to: ITCLink}
2929

3030
return (
3131
<Box className={'image-with-text'}>

0 commit comments

Comments
 (0)