Fix #124 unable to load settings
This commit is contained in:
@@ -316,7 +316,7 @@ const Settings = () => {
|
||||
Join Circle
|
||||
</Button>
|
||||
</Typography>
|
||||
{circleMembers.find(m => userProfile.id == m.userId).role ===
|
||||
{circleMembers.find(m => userProfile.id == m.userId)?.role ===
|
||||
'admin' && (
|
||||
<>
|
||||
<Typography level='title-lg' mt={2}>
|
||||
|
||||
Reference in New Issue
Block a user