Skip to content

Commit af2bd09

Browse files
committed
Introduce compiler error
1 parent 3c3fd03 commit af2bd09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/banner/banner.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ const Banner = React.forwardRef<HTMLDivElement, BannerProps>(function Banner(
127127
const titleId = useId()
128128
const descriptionId = useId()
129129

130+
if (inlineLinks) {
131+
inlineLinks = [...inlineLinks, { label: 'introduce violatio' }]
132+
}
133+
130134
const closeButton = onClose ? (
131135
<IconButton
132136
exceptionallySetClassName={styles.closeButton}

0 commit comments

Comments
 (0)