mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-11 22:06:29 +02:00
Fixes lint style errors
This commit is contained in:
@@ -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)()} */}
|
||||
|
@@ -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"
|
||||
|
@@ -1,3 +1,3 @@
|
||||
.Home {
|
||||
.home {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
@@ -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>
|
||||
|
@@ -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...
|
||||
|
@@ -1,3 +1,3 @@
|
||||
.Membre {
|
||||
.membre {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
exports[`<NotFound /> renders 1`] = `
|
||||
<div
|
||||
class="NotFound"
|
||||
class="not-found"
|
||||
>
|
||||
<p>
|
||||
Oops, Page was not found!
|
||||
|
@@ -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>
|
||||
|
@@ -1,3 +1,3 @@
|
||||
.NotFound {
|
||||
.not-found {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user