Format all files with no breaking changes
Lint all files using `npm run lint -- --fix`.
Format all files using `prettier --write "**/*.{ts,tsx,js,jsx,json}"`
No breaking change, only code style is modified.
Gitlab: #29
Change-Id: I4f034a7fb4d3eea10bcd3e38b44a65a1046de62f
diff --git a/client/src/components/JamiIdCard.js b/client/src/components/JamiIdCard.js
index b999780a..e25610b 100644
--- a/client/src/components/JamiIdCard.js
+++ b/client/src/components/JamiIdCard.js
@@ -1,23 +1,26 @@
import { Box, Card, CardContent, Typography } from '@mui/material';
export default function JamiIdCard(props) {
- const account = props.account
- const registeredName = account.getRegisteredName()
- return <Card style={{marginBottom:16}}>
+ const account = props.account;
+ const registeredName = account.getRegisteredName();
+ return (
+ <Card style={{ marginBottom: 16 }}>
<CardContent>
<Box>
- <Typography color="textSecondary">
- Jami ID
- </Typography>
- <Typography variant="h5" component="h2" gutterBottom noWrap>{account.getUri()}</Typography>
+ <Typography color="textSecondary">Jami ID</Typography>
+ <Typography variant="h5" component="h2" gutterBottom noWrap>
+ {account.getUri()}
+ </Typography>
</Box>
- {registeredName && <Box>
- <Typography color="textSecondary" >
- Jami username
- </Typography>
- <Typography variant="h5" component="h2" noWrap>{registeredName}</Typography>
+ {registeredName && (
+ <Box>
+ <Typography color="textSecondary">Jami username</Typography>
+ <Typography variant="h5" component="h2" noWrap>
+ {registeredName}
+ </Typography>
</Box>
- }
+ )}
</CardContent>
</Card>
+ );
}