Skip to content

Commit 0d8bb14

Browse files
committed
Fix error syntax
1 parent e91b336 commit 0d8bb14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Hero/HubHero/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const HubHero = ({
1414
}: CommonHeroProps) => {
1515
if (buttons && buttons.length > 2) {
1616
throw new Error(
17-
"Cannot have more than two call-to-action buttons in this hero component."
17+
"Can not have more than two call-to-action buttons in this hero component."
1818
)
1919
}
2020

@@ -81,4 +81,4 @@ const HubHero = ({
8181
)
8282
}
8383

84-
export default HubHero;
84+
export default HubHero

0 commit comments

Comments
 (0)