Fixes lint style errors

This commit is contained in:
pikiou
2021-11-24 00:08:19 +01:00
parent 3ac9c72a8b
commit 051784a6da
22 changed files with 51 additions and 51 deletions

View File

@@ -37,7 +37,7 @@ function useList<Entity>(
const Home: FC<Props> = (): JSX.Element => {
const dispatch = useDispatch()
return (
<div className={styles.Home}>
<div className={styles.home}>
<Helmet title="Home" />
<AddEnvie dispatch={dispatch} />
{/* {useList((state: AppState) => state.envieList, fetchEnvieListifNeed)()} */}

View File

@@ -2,7 +2,7 @@
exports[`<Home /> renders an error if loading failed 1`] = `
<div
class="Home"
class="home"
>
<section
class="EnvieList"
@@ -77,7 +77,7 @@ exports[`<Home /> renders an error if loading failed 1`] = `
exports[`<Home /> renders the <List /> if loading was successful 1`] = `
<div
class="Home"
class="home"
>
<section
class="EnvieList"
@@ -164,7 +164,7 @@ exports[`<Home /> renders the <List /> if loading was successful 1`] = `
exports[`<Home /> renders the loading status if data invalid 1`] = `
<div
class="Home"
class="home"
>
<section
class="EnvieList"
@@ -239,7 +239,7 @@ exports[`<Home /> renders the loading status if data invalid 1`] = `
exports[`<Home /> renders the loading status if requesting data 1`] = `
<div
class="Home"
class="home"
>
<section
class="EnvieList"

View File

@@ -1,3 +1,3 @@
.Home {
.home {
padding: 0 15px;
}

View File

@@ -37,7 +37,7 @@ const MembrePage = ({ match }: Props): JSX.Element => {
}
return (
<div className={styles.Membre}>
<div className={styles.membre}>
<Helmet title="User Info" />
{renderInfo()}
</div>

View File

@@ -2,7 +2,7 @@
exports[`<MembrePage /> renders an error if loading failed 1`] = `
<div
class="Membre"
class="membre"
>
<p>
Oops! Failed to load data.
@@ -12,7 +12,7 @@ exports[`<MembrePage /> renders an error if loading failed 1`] = `
exports[`<MembrePage /> renders the <Info /> if loading was successful 1`] = `
<div
class="Membre"
class="membre"
>
<div>
<div
@@ -85,7 +85,7 @@ exports[`<MembrePage /> renders the <Info /> if loading was successful 1`] = `
exports[`<MembrePage /> renders the loading status if data invalid 1`] = `
<div
class="Membre"
class="membre"
>
<p>
Oops! Failed to load data.
@@ -95,7 +95,7 @@ exports[`<MembrePage /> renders the loading status if data invalid 1`] = `
exports[`<MembrePage /> renders the loading status if requesting data 1`] = `
<div
class="Membre"
class="membre"
>
<p>
Loading...

View File

@@ -1,3 +1,3 @@
.Membre {
.membre {
padding: 0 15px;
}

View File

@@ -2,7 +2,7 @@
exports[`<NotFound /> renders 1`] = `
<div
class="NotFound"
class="not-found"
>
<p>
Oops, Page was not found!

View File

@@ -13,7 +13,7 @@ const NotFound = ({ staticContext }: Props) => {
if (staticContext) staticContext.statusCode = 404
return (
<div className={styles.NotFound}>
<div className={styles["not-found"]}>
<Helmet title="Oops" />
<p>Oops, Page was not found!</p>
</div>

View File

@@ -1,3 +1,3 @@
.NotFound {
.not-found {
padding: 0 15px;
}