diff --git a/src/components/WelcomeModal/FirstPhase.tsx b/src/components/WelcomeModal/FirstPhase.tsx index 2682e9e48..9c35211db 100644 --- a/src/components/WelcomeModal/FirstPhase.tsx +++ b/src/components/WelcomeModal/FirstPhase.tsx @@ -1,10 +1,11 @@ +import React from 'react'; +import { useSnackbar } from 'notistack'; + 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'; -import { useSnackbar } from 'notistack'; -import React from 'react'; import { CGU } from 'src/components/CGU'; import { Flag } from 'src/components/Flag'; diff --git a/src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx b/src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx index 931354056..0723451fe 100644 --- a/src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx +++ b/src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import { Divider } from '@mui/material'; import Paper from '@mui/material/Paper'; import classnames from 'classnames'; @@ -17,7 +18,6 @@ import { toggleCustomInlineStyle, } from 'draftjs-utils'; import htmlToDraft from 'html-to-draftjs'; -import React from 'react'; import { ColorPicker } from './toolbar/ColorPicker'; import { EmojiPicker } from './toolbar/EmojiPicker'; diff --git a/src/contexts/activityContext.tsx b/src/contexts/activityContext.tsx index 4e6efcb18..fb0040f22 100644 --- a/src/contexts/activityContext.tsx +++ b/src/contexts/activityContext.tsx @@ -1,7 +1,8 @@ -import { Card, CircularProgress } from '@mui/material'; -import { useRouter } from 'next/router'; import React from 'react'; import { useQueryClient } from 'react-query'; +import { useRouter } from 'next/router'; + +import { Card, CircularProgress } from '@mui/material'; import { UserContext } from './userContext'; import { VillageContext } from './villageContext'; diff --git a/src/pages/login.tsx b/src/pages/login.tsx index c4b8b5dda..ffa30be51 100644 --- a/src/pages/login.tsx +++ b/src/pages/login.tsx @@ -1,7 +1,8 @@ -import { Backdrop, Button, CircularProgress, Link, Tooltip } from '@mui/material'; +import React from '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';