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