File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ function ProfileToCard({user}: ProfileToCardProps) {
6767 </ Typography >
6868 < List >
6969 { Object . entries ( user . profile )
70- . filter ( ( [ _ , v ] ) => v != null )
70+ . filter ( ( [ u , v ] ) => v != null && u != 'Pronouns' && u != 'Name Pronunciation' )
7171 . map ( ( [ key , value ] : [ string , string ] ) => (
7272 < ListItem key = { key } sx = { { padding : 0 } } >
7373 < ListItemText primary = { key } secondary = { value } />
@@ -438,6 +438,11 @@ export default function ReadUser() {
438438 < Typography variant = "h5" textAlign = "center" >
439439 { user . email ?. toLowerCase ( ) }
440440 </ Typography >
441+ < Typography >
442+ { user . profile ?. Pronouns }
443+ { user . profile ?. Pronouns && user . profile ?. [ 'Name Pronunciation' ] && < > • </ > }
444+ { user . profile ?. [ 'Name Pronunciation' ] }
445+ </ Typography >
441446 </ Stack >
442447 < Divider />
443448 < Stack justifyContent = "center" direction = "row" gap = { 1 } >
You can’t perform that action at this time.
0 commit comments