Skip to content

Commit

Permalink
fix Eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaOlas committed Oct 4, 2023
1 parent 7b39a35 commit 6eb20b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/components/WelcomeModal/FirstPhase.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { useSnackbar } from 'notistack';
import React from 'react';

import KeyboardArrowLeft from '@mui/icons-material/KeyboardArrowLeft';
import KeyboardArrowRight from '@mui/icons-material/KeyboardArrowRight';
import { Checkbox } from '@mui/material';
import Button from '@mui/material/Button';
import MobileStepper from '@mui/material/MobileStepper';

Check failure on line 5 in src/components/WelcomeModal/FirstPhase.tsx

View workflow job for this annotation

GitHub Actions / lint

There should be at least one empty line between import groups
import { useSnackbar } from 'notistack';

Check failure on line 6 in src/components/WelcomeModal/FirstPhase.tsx

View workflow job for this annotation

GitHub Actions / lint

`notistack` import should occur before import of `@mui/icons-material/KeyboardArrowLeft`
import React from 'react';

Check failure on line 7 in src/components/WelcomeModal/FirstPhase.tsx

View workflow job for this annotation

GitHub Actions / lint

`react` import should occur before import of `@mui/icons-material/KeyboardArrowLeft`

import { CGU } from 'src/components/CGU';
import { Flag } from 'src/components/Flag';
Expand Down
3 changes: 1 addition & 2 deletions src/contexts/activityContext.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { Card, CircularProgress } from '@mui/material';

Check failure on line 1 in src/contexts/activityContext.tsx

View workflow job for this annotation

GitHub Actions / lint

There should be at least one empty line between import groups

Check failure on line 1 in src/contexts/activityContext.tsx

View workflow job for this annotation

GitHub Actions / lint

`@mui/material` import should occur after import of `react-query`
import { useRouter } from 'next/router';
import React from 'react';
import { useQueryClient } from 'react-query';

import { Card, CircularProgress } from '@mui/material';

import { UserContext } from './userContext';
import { VillageContext } from './villageContext';
import { Modal } from 'src/components/Modal';
Expand Down
3 changes: 1 addition & 2 deletions src/pages/login.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { Backdrop, Button, CircularProgress, Link, Tooltip } from '@mui/material';

Check failure on line 1 in src/pages/login.tsx

View workflow job for this annotation

GitHub Actions / lint

There should be at least one empty line between import groups

Check failure on line 1 in src/pages/login.tsx

View workflow job for this annotation

GitHub Actions / lint

`@mui/material` import should occur after import of `react`
import { useRouter } from 'next/router';
import qs from 'query-string';
import React from 'react';

import { Backdrop, Button, CircularProgress, Link, Tooltip } from '@mui/material';

import { KeepRatio } from '../components/KeepRatio';
import { isRedirectValid } from '../components/accueil/NewHome';
import { UserContext } from 'src/contexts/userContext';
Expand Down

0 comments on commit 6eb20b6

Please sign in to comment.