Skip to content

Commit

Permalink
refactor: move cc license to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
louisewang1 committed May 23, 2022
1 parent 4f8586f commit 28d0fd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/item/publish/ItemPublishConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -243,7 +242,6 @@ const ItemPublishConfiguration = ({ item }) => {
<div className={classes.config}>
<CategorySelection item={item} />
<CustomizedTagsEdit item={item} />
<CCLicenseSelection item={item} />
</div>
</>
);
Expand Down
2 changes: 2 additions & 0 deletions src/components/item/settings/ItemSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -118,6 +119,7 @@ const ItemSettings = ({ item }) => {
{renderExpandableSetting()}
</FormGroup>
<ThumbnailSetting item={item} />
<CCLicenseSelection item={item} />
</Container>
);
};
Expand Down

0 comments on commit 28d0fd2

Please sign in to comment.