Skip to content

Commit 1ce1dfd

Browse files
committed
style: Use absolute imports
1 parent 00ef751 commit 1ce1dfd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ import FormikControl from '@src/generic/FormikControl';
2424
import FormikErrorFeedback from '@src/generic/FormikErrorFeedback';
2525
import AlertError from '@src/generic/alert-error';
2626

27-
import { useCreateLibraryV1 } from './data/apiHooks';
27+
import messages from '@src/library-authoring/create-library/messages';
28+
import type { LibraryV1Data } from '@src/studio-home/data/api';
2829
import legacyMessages from './messages';
29-
import messages from '../create-library/messages';
30-
import type { LibraryV1Data } from '../../studio-home/data/api';
30+
import { useCreateLibraryV1 } from './data/apiHooks';
3131

3232
/**
3333
* Renders the form and logic to create a new library.

src/library-authoring/create-legacy-library/data/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { camelCaseObject, snakeCaseObject, getConfig } from '@edx/frontend-platform';
22
import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth';
33

4-
import type { LibraryV1Data } from '../../../studio-home/data/api';
4+
import type { LibraryV1Data } from '@src/studio-home/data/api';
55

66
/**
77
* Get the URL for creating a new library.

0 commit comments

Comments
 (0)