We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88181ce + b31838f commit 4a4e6f3Copy full SHA for 4a4e6f3
rcongui/src/pages/records/players/[playerId]/[detail]/profile-details.jsx
@@ -160,7 +160,10 @@ const AccountCard = ({ profile }) => {
160
<Box sx={{ color: (theme) => theme.palette.text.secondary }}>
161
Country:
162
</Box>
163
- <Box><CountryFlag country={account["country"]} /> {account["country"]}</Box>
+ <Box>{account["country"]
164
+ ? <><CountryFlag country={account["country"]} /> {account["country"]}</>
165
+ : "-"
166
+ }</Box>
167
</ListItem>
168
<ListItem sx={{ display: "flex", justifyContent: "space-between" }}>
169
0 commit comments