add eslint

This commit is contained in:
EGOIST
2022-05-11 00:23:40 +08:00
parent 9fbcb8c5ba
commit 6903f8eef3
15 changed files with 605 additions and 78 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import clsx from "clsx"
import React, { useMemo } from "react"
import Image from "next/image"
export const Avatar: React.FC<
{
@@ -60,7 +61,7 @@ export const Avatar: React.FC<
height: `${size}px`,
}}
>
<img
<Image
className={borderRadius}
src={image}
width={size}