diff --git a/package.json b/package.json index fa2dc8a187..fe591a8bd2 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-inspector": "5.1.1", - "react-markdown": "4.3.1", "react-redux": "7.2.6", "react-remove-scroll": "^2.5.5", "react-router-dom": "6.6.2", diff --git a/src/assets/images/connecting-data-in-progress.svg b/src/assets/images/connecting-data-in-progress.svg deleted file mode 100644 index 3d63570e89..0000000000 --- a/src/assets/images/connecting-data-in-progress.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/Banners/UpdateMessage.jsx b/src/components/Banners/UpdateMessage.jsx deleted file mode 100644 index f72691fd4c..0000000000 --- a/src/components/Banners/UpdateMessage.jsx +++ /dev/null @@ -1,66 +0,0 @@ -import React, { useState, useCallback } from 'react' -import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n' -import Button from 'cozy-ui/transpiled/react/deprecated/Button' -import Infos from 'cozy-ui/transpiled/react/deprecated/Infos' -import Typography from 'cozy-ui/transpiled/react/Typography' -import PropTypes from 'prop-types' -import { useClient } from 'cozy-client' -import Intents from 'cozy-interapp' - -const UpdateMessage = props => { - const [isRedirecting, setIsRedirecting] = useState(false) - const { t } = useI18n() - const { isBlocking, konnector } = props - const client = useClient() - const intents = new Intents({ client }) - const handleRedirectToStore = useCallback(async () => { - setIsRedirecting(true) - - try { - await intents.redirect('io.cozy.apps', { - slug: konnector.slug, - step: 'update' - }) - } catch (error) { - /* eslint-disable-next-line no-console */ - console.error(error) - setIsRedirecting(false) - } - }, [konnector]) - - return ( - - - {t('update.title')} - - - {isBlocking ? t('update.blocking') : t('update.regular')} - - - } - action={ -