From 779062e2475766f51169d7beb2e2fb0572198352 Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Fri, 16 May 2025 15:56:19 +0800 Subject: [PATCH] ```update Replace getStudentAvatar with getStudentAvatarUrl for avatar URL generation in student profile``` --- 002_source/ionic_mobile/src/pages/auth/StudentInfo/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/002_source/ionic_mobile/src/pages/auth/StudentInfo/index.tsx b/002_source/ionic_mobile/src/pages/auth/StudentInfo/index.tsx index 4b4231d..0369be1 100644 --- a/002_source/ionic_mobile/src/pages/auth/StudentInfo/index.tsx +++ b/002_source/ionic_mobile/src/pages/auth/StudentInfo/index.tsx @@ -19,7 +19,7 @@ import { getUserMetaById } from '../../../db/UserMetas/GetById'; import { useTranslation } from 'react-i18next'; import { DBUserMeta } from '../../../db/UserMetas/type'; import { LoadingScreen } from '../../../components/LoadingScreen'; -import { getStudentAvatar } from '../../../lib/getStudentAvatar'; +import { getStudentAvatarUrl } from '../../../lib/getStudentAvatar'; import { authClient } from '../../../lib/auth/custom/client'; import { useUser } from '../../../hooks/use-user'; @@ -82,7 +82,7 @@ function StudentInfo(): React.JSX.Element {