feat: Lint paragraphs except in test files & fix
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
committed by
Carlos Lopez
parent
8de0276086
commit
e75f39e603
@@ -24,6 +24,7 @@ import {
|
||||
ListItemSecondaryAction,
|
||||
ListItemIcon,
|
||||
} from '@material-ui/core';
|
||||
import Typography from '@material-ui/core/Typography';
|
||||
import OpenInNewIcon from '@material-ui/icons/OpenInNew';
|
||||
import useAsync from 'react-use/lib/useAsync';
|
||||
import _unescape from 'lodash/unescape';
|
||||
@@ -51,11 +52,11 @@ export const Content = (props: StackOverflowQuestionsContentProps) => {
|
||||
}, []);
|
||||
|
||||
if (loading) {
|
||||
return <p>loading...</p>;
|
||||
return <Typography>loading...</Typography>;
|
||||
}
|
||||
|
||||
if (error || !value || !value.length) {
|
||||
return <p>could not load questions</p>;
|
||||
return <Typography>could not load questions</Typography>;
|
||||
}
|
||||
|
||||
const getSecondaryText = (answer_count: Number) =>
|
||||
|
||||
Reference in New Issue
Block a user