fix: types errors

This commit is contained in:
DIYgod
2023-04-17 03:57:06 +01:00
parent 08862736e4
commit cf2a536f30
+1 -1
View File
@@ -238,7 +238,7 @@ export const SiteHeader: React.FC<{
images={[getUserContentsUrl(site?.avatars?.[0])]}
size={120}
name={site?.name}
imageRef={avatarRef}
imageRef={avatarRef as MutableRefObject<HTMLImageElement>}
/>
)}
<div className="flex-1 min-w-0 relative">