From b3b2881efb3c25cc1ec2cac03ccccb9efe2ea81f Mon Sep 17 00:00:00 2001 From: Jesper Hodge Date: Mon, 11 Mar 2024 18:42:17 +0000 Subject: [PATCH] Revert "fix: gallery" This reverts commit 736a786e12e6028330694cf11b9a5793d5f0ade0. --- src/editors/sharedComponents/SelectionModal/Gallery.jsx | 4 ++-- src/editors/sharedComponents/SelectionModal/GalleryCard.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/editors/sharedComponents/SelectionModal/Gallery.jsx b/src/editors/sharedComponents/SelectionModal/Gallery.jsx index fe9db0532..179ab30e0 100644 --- a/src/editors/sharedComponents/SelectionModal/Gallery.jsx +++ b/src/editors/sharedComponents/SelectionModal/Gallery.jsx @@ -2,14 +2,14 @@ import React from 'react'; import PropTypes from 'prop-types'; import { - Scrollable, Spinner, + Scrollable, SelectableBox, Spinner, } from '@openedx/paragon'; + import { FormattedMessage, useIntl, } from '@edx/frontend-platform/i18n'; -import SelectableBox from '../SelectableBox'; import messages from './messages'; import GalleryCard from './GalleryCard'; diff --git a/src/editors/sharedComponents/SelectionModal/GalleryCard.jsx b/src/editors/sharedComponents/SelectionModal/GalleryCard.jsx index c661c9de8..a2207caff 100644 --- a/src/editors/sharedComponents/SelectionModal/GalleryCard.jsx +++ b/src/editors/sharedComponents/SelectionModal/GalleryCard.jsx @@ -4,10 +4,10 @@ import PropTypes from 'prop-types'; import { Badge, Image, + SelectableBox, } from '@openedx/paragon'; import { FormattedMessage, FormattedDate, FormattedTime } from '@edx/frontend-platform/i18n'; -import SelectableBox from '../SelectableBox'; import messages from './messages'; import { formatDuration } from '../../utils'; import LanguageNamesWidget from '../../containers/VideoEditor/components/VideoSettingsModal/components/VideoPreviewWidget/LanguageNamesWidget';