Skip to content

Commit 88ac9d3

Browse files
committed
fix: enterprise hydration error
1 parent f337b66 commit 88ac9d3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

apps/sim/content/blog/enterprise/components.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ export function ContactButton({ href, children }: ContactButtonProps) {
2323
alignItems: 'center',
2424
gap: '7px',
2525
borderRadius: '5px',
26-
background: '#FFFFFF',
27-
border: '1px solid #FFFFFF',
26+
background: isHovered ? '#E0E0E0' : '#FFFFFF',
27+
borderWidth: '1px',
28+
borderStyle: 'solid',
29+
borderColor: isHovered ? '#E0E0E0' : '#FFFFFF',
2830
paddingTop: '5px',
2931
paddingBottom: '5px',
3032
paddingLeft: '9px',
@@ -34,7 +36,6 @@ export function ContactButton({ href, children }: ContactButtonProps) {
3436
color: '#000000',
3537
textDecoration: 'none',
3638
transition: 'background 200ms, border-color 200ms',
37-
...(isHovered ? { background: '#E0E0E0', borderColor: '#E0E0E0' } : {}),
3839
}}
3940
>
4041
{children}

0 commit comments

Comments
 (0)