feat: Lint paragraphs except in test files & fix

Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
Carlos Esteban Lopez
2022-12-15 00:02:48 -05:00
committed by Carlos Lopez
parent 8de0276086
commit e75f39e603
16 changed files with 60 additions and 40 deletions
@@ -14,18 +14,19 @@
* limitations under the License.
*/
import Typography from '@material-ui/core/Typography';
import React from 'react';
import { useRandomJoke } from './Context';
export const Content = () => {
const { joke, loading } = useRandomJoke();
if (loading) return <p>Loading...</p>;
if (loading) return <Typography>Loading...</Typography>;
return (
<div>
<p>{joke.setup}</p>
<p>{joke.punchline}</p>
<Typography>{joke.setup}</Typography>
<Typography>{joke.punchline}</Typography>
</div>
);
};