Skip to content

Commit 45317b2

Browse files
committed
refactor: Remove unused CreateLegacyLibraryModal
The CreateLegacyLibrary page is used, but the Modal version isn't. Remove to avoid adding dead code and decreasing test coverage. I added it in the first place to replicate CreateLibraryModal (which doesn't seem to be used either).
1 parent f1bb5d8 commit 45317b2

3 files changed

Lines changed: 1 addition & 44 deletions

File tree

src/library-authoring/create-legacy-library/CreateLegacyLibraryModal.tsx

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
export { CreateLegacyLibrary } from './CreateLegacyLibrary';
2-
export { CreateLegacyLibraryModal } from './CreateLegacyLibraryModal';

src/library-authoring/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ export { default as LibraryLayout } from './LibraryLayout';
22
export { ComponentPicker } from './component-picker';
33
export { type SelectedComponent } from './common/context/ComponentPickerContext';
44
export { CreateLibrary, CreateLibraryModal } from './create-library';
5-
export { CreateLegacyLibrary, CreateLegacyLibraryModal } from './create-legacy-library';
5+
export { CreateLegacyLibrary } from './create-legacy-library';
66
export { libraryAuthoringQueryKeys, useContentLibraryV2List } from './data/apiHooks';
77
export { default as PreviewChangesEmbed } from './legacy-integration/PreviewChangesEmbed';

0 commit comments

Comments
 (0)