From e4dbabb21e0be0431b1afad1b74654c3cd74ae60 Mon Sep 17 00:00:00 2001 From: charlinedev Date: Wed, 4 Oct 2023 17:16:39 +0200 Subject: [PATCH] Fix import ss exten --- src/components/WelcomeModal/FirstPhase.tsx | 5 ++--- .../content/editors/TextEditor/SimpleTextEditor.tsx | 4 ++-- src/contexts/activityContext.tsx | 3 +-- src/pages/login.tsx | 5 ++--- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/components/WelcomeModal/FirstPhase.tsx b/src/components/WelcomeModal/FirstPhase.tsx index cb520e86e..2682e9e48 100644 --- a/src/components/WelcomeModal/FirstPhase.tsx +++ b/src/components/WelcomeModal/FirstPhase.tsx @@ -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'; +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 c02f1f829..931354056 100644 --- a/src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx +++ b/src/components/activities/content/editors/TextEditor/SimpleTextEditor.tsx @@ -1,5 +1,3 @@ -import htmlToDraft from 'html-to-draftjs'; -import React from 'react'; import { Divider } from '@mui/material'; import Paper from '@mui/material/Paper'; import classnames from 'classnames'; @@ -18,6 +16,8 @@ import { getSelectionCustomInlineStyle, 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 2e4e354a1..4e6efcb18 100644 --- a/src/contexts/activityContext.tsx +++ b/src/contexts/activityContext.tsx @@ -1,9 +1,8 @@ +import { Card, CircularProgress } from '@mui/material'; 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'; diff --git a/src/pages/login.tsx b/src/pages/login.tsx index a49190be4..c4b8b5dda 100644 --- a/src/pages/login.tsx +++ b/src/pages/login.tsx @@ -1,8 +1,7 @@ +import { Backdrop, Button, CircularProgress, Link, Tooltip } from '@mui/material'; +import { useRouter } from 'next/router'; import qs from 'query-string'; import React from 'react'; -import { useRouter } from 'next/router'; - -import { Backdrop, Button, CircularProgress, Link, Tooltip } from '@mui/material'; import { KeepRatio } from '../components/KeepRatio'; import { isRedirectValid } from '../components/accueil/NewHome';