Skip to content

Commit 16c65b4

Browse files
committed
chore: updated paths and cleanup
1 parent fb55f69 commit 16c65b4

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

src/header/messages.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,6 @@ const messages = defineMessages({
9696
defaultMessage: 'Import',
9797
description: 'Link to Studio Import page',
9898
},
99-
'header.links.importLibrary': {
100-
id: 'header.links.importLibrary',
101-
defaultMessage: 'Import',
102-
description: 'Link to Studio Import Library page',
103-
},
10499
'header.links.exportCourse': {
105100
id: 'header.links.exportCourse',
106101
defaultMessage: 'Export Course',
@@ -109,7 +104,7 @@ const messages = defineMessages({
109104
'header.links.exportLibrary': {
110105
id: 'header.links.exportLibrary',
111106
defaultMessage: 'Backup to local archive',
112-
description: 'Link to Studio Export Library page',
107+
description: 'Link to Studio Backup Library page',
113108
},
114109
'header.links.optimizer': {
115110
id: 'header.links.optimizer',

src/library-authoring/backup-restore/LibraryBackupPage.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ import { Download, Loop, Newsstand } from '@openedx/paragon/icons';
1717
import SubHeader from '@src/generic/sub-header/SubHeader';
1818
import { LibraryBackupStatus } from '@src/library-authoring/backup-restore/data/constants';
1919
import { useCreateLibraryBackup, useGetLibraryBackupStatus } from '@src/library-authoring/backup-restore/data/hooks';
20-
import NotFoundAlert from '../../generic/NotFoundAlert';
21-
import Header from '../../header';
22-
import { useLibraryContext } from '../common/context/LibraryContext';
23-
import { useContentLibrary } from '../data/apiHooks';
24-
import messages from './messages';
20+
import NotFoundAlert from '@src/generic/NotFoundAlert';
21+
import Header from '@src/header';
22+
import { useLibraryContext } from '@src/library-authoring/common/context/LibraryContext';
23+
import { useContentLibrary } from '@src/library-authoring/data/apiHooks';
24+
import messages from '@src/library-authoring/backup-restore/messages';
2525

2626
export const LibraryBackupPage = () => {
2727
const intl = useIntl();

0 commit comments

Comments
 (0)