improvements
This commit is contained in:
@@ -48,13 +48,9 @@ export function ShareCard() {
|
||||
>
|
||||
</Card>
|
||||
);
|
||||
if (typeof window !== 'undefined' && (navigator.share as any)) {
|
||||
return (
|
||||
<CursorEffect cursorPadding={8} cursorBorderRadius={36}>
|
||||
{ShareCard}
|
||||
</CursorEffect>
|
||||
);
|
||||
} else {
|
||||
return ShareCard;
|
||||
}
|
||||
}
|
||||
return (
|
||||
<CursorEffect cursorPadding={8} cursorBorderRadius={36}>
|
||||
{ShareCard}
|
||||
</CursorEffect>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user