Skip to content

Commit 70ea4cb

Browse files
fix(BugBountyCards): update typing of href prop for submit button
1 parent 6c09074 commit 70ea4cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/BugBountyCards.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ const CardRow = ({ children }: ChildOnlyProp) => (
1414
<Flex className="mx-4 my-16 flex-wrap justify-between">{children}</Flex>
1515
)
1616

17-
const SubmitBugBountyButton = ({ children, ...props }: ButtonLinkProps) => (
17+
const SubmitBugBountyButton = ({
18+
children,
19+
...props
20+
}: Omit<ButtonLinkProps, "href">) => (
1821
<ButtonLink
1922
className="m-4"
2023
href="https://forms.gle/Gnh4gzGh66Yc3V7G8"

0 commit comments

Comments
 (0)