diff --git a/src/components/ButtonLink.tsx b/src/components/ButtonLink.tsx index bd98d5b38ee..1a6685b2934 100644 --- a/src/components/ButtonLink.tsx +++ b/src/components/ButtonLink.tsx @@ -16,7 +16,7 @@ interface ButtonLinkProps { size?: 'md' | 'lg'; type?: 'primary' | 'secondary'; label?: string; - target?: '_self' | '_blank'; + target?: '_self' | "_blank"; } function ButtonLink({ diff --git a/src/components/Layout/Sidebar/SidebarRouteTree.tsx b/src/components/Layout/Sidebar/SidebarRouteTree.tsx index 863355bfdc8..6a4aaed946c 100644 --- a/src/components/Layout/Sidebar/SidebarRouteTree.tsx +++ b/src/components/Layout/Sidebar/SidebarRouteTree.tsx @@ -12,10 +12,10 @@ import {useRef, useLayoutEffect, Fragment} from 'react'; import cn from 'classnames'; -import {useRouter} from 'next/router'; +import {useRouter} from "next/router"; import {SidebarLink} from './SidebarLink'; import {useCollapse} from 'react-collapsed'; -import usePendingRoute from 'hooks/usePendingRoute'; +import usePendingRoute from "hooks/usePendingRoute"; import type {RouteItem} from 'components/Layout/getRouteMeta'; import {siteConfig} from 'siteConfig'; diff --git a/src/components/Logo.tsx b/src/components/Logo.tsx index 3ea4ba9ac89..8af803af2c6 100644 --- a/src/components/Logo.tsx +++ b/src/components/Logo.tsx @@ -12,6 +12,7 @@ import type {SVGProps} from 'react'; export function Logo(props: SVGProps) { return ( + <> ) { + ); }