Skip to content

Commit ee4d4c8

Browse files
committed
use destructured linkText prop
1 parent 5cafd01 commit ee4d4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Storyblok/SbCtaLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const SbCtaLink = React.forwardRef<HTMLAnchorElement, SbCtaProps>((props,
3939
linkTextColor,
4040
} = props.blok;
4141

42-
if (!props.blok.linkText) {
42+
if (!linkText) {
4343
return null;
4444
}
4545

0 commit comments

Comments
 (0)