diff --git a/src/components/MobileLogo/MobileLogo.tsx b/src/components/MobileLogo/MobileLogo.tsx index 0f5e78e..f355668 100644 --- a/src/components/MobileLogo/MobileLogo.tsx +++ b/src/components/MobileLogo/MobileLogo.tsx @@ -27,17 +27,8 @@ export const MobileLogo: React.FC = ({ onClick, className, }) => { - const hasClickHandler = typeof onClick === 'function'; const hasWrapper = typeof wrapper === 'function'; - const linkProps = hasClickHandler - ? {} - : { - target, - ref: target === '_self' ? undefined : 'noreferrer', - href, - }; - let logoIcon; if (iconSrc) { @@ -78,7 +69,13 @@ export const MobileLogo: React.FC = ({ {wrapper(logo, compact)} ) : ( - + {logo} );