summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Link
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-20 14:20:44 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-20 14:20:44 +0700
commite33a330786ffbfcd774de00dc697c6dff47faf27 (patch)
treecd35ce2a36c37cd8c6e991862f929d83dcd45464 /src/core/components/elements/Link
parentfdefe7cfe899125a9bd553b542976eed0de919c1 (diff)
fix
Diffstat (limited to 'src/core/components/elements/Link')
-rw-r--r--src/core/components/elements/Link/Link.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/components/elements/Link/Link.jsx b/src/core/components/elements/Link/Link.jsx
index a619164d..897cf6d7 100644
--- a/src/core/components/elements/Link/Link.jsx
+++ b/src/core/components/elements/Link/Link.jsx
@@ -5,7 +5,7 @@ const Link = ({ children, ...props }) => {
<NextLink
{...props}
scroll={false}
- className={`block font-medium text-red_r-11 ${props?.className}`}
+ className={`block font-medium text-red_r-11 ${props?.className || ''}`}
>
{children}
</NextLink>