Skip to content

Commit bb2ce0a

Browse files
authored
Merge pull request #171 from scientist-softserv/239-requests-page
add data-cy attribute to linkedbutton
2 parents 6b477a7 + 20a7205 commit bb2ce0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compounds/LinkedButton/LinkedButton.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ButtonLinkWrapper = React.forwardRef(({ ...props }, ref) => {
2525
const { addClass, buttonProps, href } = props
2626

2727
return (
28-
<a href={href} ref={ref} className={addClass}>
28+
<a href={href} ref={ref} className={addClass} data-cy='linked-button'>
2929
<Button {...buttonProps} />
3030
</a>
3131
)

0 commit comments

Comments
 (0)