From 9e743e29f4f2a663daa39054e07321c000ac0440 Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Sat, 28 Feb 2026 21:27:05 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E9=9A=8F=E6=9C=BA=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E9=A3=8E=E6=A0=BC=E6=8D=A2=E6=88=90=20identicon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/page.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/page.jsx b/app/page.jsx index 659252e..670f029 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -5,7 +5,7 @@ import { motion, AnimatePresence } from 'framer-motion'; import Image from 'next/image'; import { createWorker } from 'tesseract.js'; import { createAvatar } from '@dicebear/core'; -import { glass } from '@dicebear/collection'; +import { identicon } from '@dicebear/collection'; import dayjs from 'dayjs'; import utc from 'dayjs/plugin/utc'; import timezone from 'dayjs/plugin/timezone'; @@ -362,7 +362,7 @@ export default function HomePage() { const userAvatar = useMemo(() => { if (!user?.id) return ''; - return createAvatar(glass, { + return createAvatar(identicon, { seed: user.id, size: 80 }).toDataUri();