chore: lint
This commit is contained in:
@@ -8,13 +8,13 @@ interface PairDisplayDivProps {
|
|||||||
pair: WhereWhatPair;
|
pair: WhereWhatPair;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const PairDisplayDiv: FC<PairDisplayDivProps> = ({index, pair}) => {
|
export const PairDisplayDiv: FC<PairDisplayDivProps> = ({ index, pair }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Typography sx={{ marginBottom: '10px', marginTop: '25px'}} id="pair-index" variant="h6" component="h2">
|
<Typography sx={{ marginBottom: '10px', marginTop: '25px' }} id="pair-index" variant="h6" component="h2">
|
||||||
{`Index: ${index}`}
|
{`Index: ${index}`}
|
||||||
{ pair.id ? `, Id: ${pair.id}` : ''}
|
{pair.id ? `, Id: ${pair.id}` : ''}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography id="where-title" variant="h6" component="h2">
|
<Typography id="where-title" variant="h6" component="h2">
|
||||||
{"Where:"}
|
{"Where:"}
|
||||||
@@ -26,7 +26,7 @@ export const PairDisplayDiv: FC<PairDisplayDivProps> = ({index, pair}) => {
|
|||||||
{"What:"}
|
{"What:"}
|
||||||
</Typography>
|
</Typography>
|
||||||
<DescriptionWrapper id="what-description">
|
<DescriptionWrapper id="what-description">
|
||||||
<pre>{JSON.stringify(pair?.what,undefined, 2)}</pre>
|
<pre>{JSON.stringify(pair?.what, undefined, 2)}</pre>
|
||||||
</DescriptionWrapper>
|
</DescriptionWrapper>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user