diff --git a/src/ui/button-link.tsx b/src/ui/button-link.tsx index e9058e12d..5bfe0d0b5 100644 --- a/src/ui/button-link.tsx +++ b/src/ui/button-link.tsx @@ -1,3 +1,4 @@ +import { splitProps } from "solid-js"; import { A, type RouterLinkProps } from "./i18n-anchor"; type ButtonLinkProps = RouterLinkProps & { @@ -5,16 +6,18 @@ type ButtonLinkProps = RouterLinkProps & { }; export const ButtonLink = (props: ButtonLinkProps) => { + const [localProps, otherProps] = splitProps(props, ["variant"]); + return ( ); };