enhancement: skip fetching to improve user experience when switching … (#2580)

This commit is contained in:
Rozstone
2024-02-27 19:16:22 +08:00
committed by GitHub
parent 3a34370422
commit f1cbd55007
5 changed files with 61 additions and 35 deletions

View File

@@ -1,15 +1,17 @@
import type { FC } from 'react'
import classNames from 'classnames'
type LogoSiteProps = {
className?: string
}
const LogoSite: FC<LogoSiteProps> = ({
className,
}) => {
return (
<img
src='/logo/logo-site.png'
className={`block w-auto h-10 ${className}`}
className={classNames('block w-auto h-10', className)}
alt='logo'
/>
)