mirror of
https://github.com/woodchen-ink/Q58Connect.git
synced 2025-07-18 14:01:55 +08:00
fix: Add unoptimized prop to Image components for logo and avatar rendering
This commit is contained in:
parent
0c1d7fceea
commit
d2aeb651cf
@ -82,6 +82,7 @@ export function AuthorizationCard({
|
|||||||
alt={client.name}
|
alt={client.name}
|
||||||
width={64}
|
width={64}
|
||||||
height={64}
|
height={64}
|
||||||
|
unoptimized
|
||||||
className="rounded-full object-cover"
|
className="rounded-full object-cover"
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
|
@ -67,6 +67,7 @@ export function NavBar() {
|
|||||||
width={36}
|
width={36}
|
||||||
height={36}
|
height={36}
|
||||||
alt={user.name || "用户头像"}
|
alt={user.name || "用户头像"}
|
||||||
|
unoptimized
|
||||||
className="h-full w-full object-cover"
|
className="h-full w-full object-cover"
|
||||||
onError={(e) => {
|
onError={(e) => {
|
||||||
const target = e.target as HTMLImageElement;
|
const target = e.target as HTMLImageElement;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user