Skip to content

Commit 1c65f6f

Browse files
committed
fix: add asChild prop to first button to prevent invalid HTML nesting
1 parent 96308c4 commit 1c65f6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/web-roo-code/src/app/reviewer/ReviewerContent.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ export function ReviewerContent() {
7575
<div className="flex flex-col space-y-3 sm:flex-row sm:space-x-4 sm:space-y-0 md:items-center">
7676
<Button
7777
size="lg"
78-
className="w-full sm:w-auto backdrop-blur-sm border hover:shadow-[0_0_20px_rgba(59,130,246,0.5)] transition-all duration-300">
78+
className="w-full sm:w-auto backdrop-blur-sm border hover:shadow-[0_0_20px_rgba(59,130,246,0.5)] transition-all duration-300"
79+
asChild>
7980
<a
8081
href={EXTERNAL_LINKS.CLOUD_APP_SIGNUP_PRO}
8182
target="_blank"

0 commit comments

Comments
 (0)