relogin on 403
This commit is contained in:
parent
37998bee63
commit
7d0357e5ac
@ -50,7 +50,7 @@ export const Lesson = () => {
|
||||
<ul style={{ paddingLeft: 0 }}>
|
||||
{accessCode?.body?.lesson?.students?.map((student, index) => (
|
||||
<LessonItem key={index}>
|
||||
<Lessonname>{student.preferred_username || student.name}</Lessonname>
|
||||
<Lessonname>{student.name || student.preferred_username}</Lessonname>
|
||||
</LessonItem>
|
||||
))}
|
||||
</ul>
|
||||
|
@ -52,7 +52,7 @@ export const UserPage = () => {
|
||||
<ul style={{ paddingLeft: 0 }}>
|
||||
{ls.data?.body?.students?.map((student, index) => (
|
||||
<LessonItem key={index}>
|
||||
<Lessonname>{student.preferred_username || student.name}</Lessonname>
|
||||
<Lessonname>{student.name || student.preferred_username}</Lessonname>
|
||||
</LessonItem>
|
||||
))}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user