From 28d0fd2163bb3291289c64d5d2fdc524d4e3008a Mon Sep 17 00:00:00 2001 From: Louise Wang Date: Mon, 23 May 2022 19:22:34 +0200 Subject: [PATCH] refactor: move cc license to settings --- src/components/item/publish/ItemPublishConfiguration.js | 2 -- src/components/item/settings/ItemSettings.js | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/item/publish/ItemPublishConfiguration.js b/src/components/item/publish/ItemPublishConfiguration.js index 14a45d16b..e169eefa3 100644 --- a/src/components/item/publish/ItemPublishConfiguration.js +++ b/src/components/item/publish/ItemPublishConfiguration.js @@ -14,7 +14,6 @@ import { MUTATION_KEYS, DATA_KEYS } from '@graasp/query-client'; import { useMutation, hooks, queryClient } from '../../../config/queryClient'; import CategorySelection from './CategorySelection'; import CustomizedTagsEdit from './CustomizedTagsEdit'; -import CCLicenseSelection from './CCLicenseSelection'; import { ADMIN_CONTACT, VALIDATION_STATUS_NAMES, @@ -243,7 +242,6 @@ const ItemPublishConfiguration = ({ item }) => {
-
); diff --git a/src/components/item/settings/ItemSettings.js b/src/components/item/settings/ItemSettings.js index c8ac08b22..352d3887e 100644 --- a/src/components/item/settings/ItemSettings.js +++ b/src/components/item/settings/ItemSettings.js @@ -18,6 +18,7 @@ import { SETTINGS_EXPANDABLE_TOGGLE_ID, } from '../../../config/selectors'; import ThumbnailSetting from './ThumbnailSetting'; +import CCLicenseSelection from '../publish/CCLicenseSelection'; const useStyles = makeStyles((theme) => ({ title: { @@ -118,6 +119,7 @@ const ItemSettings = ({ item }) => { {renderExpandableSetting()} + ); };