mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 10:19:51 -06:00
add target to ui button link
This commit is contained in:
@@ -138,7 +138,7 @@ export const Button = forwardRef<HTMLAnchorElement | HTMLButtonElement, ButtonPr
|
||||
</>
|
||||
);
|
||||
return props.href ? (
|
||||
<Link passHref href={props.href} shallow={shallow && shallow}>
|
||||
<Link passHref href={props.href} shallow={shallow && shallow} target={props.target || "_self"}>
|
||||
{element}
|
||||
</Link>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user