diff --git a/extensions/likes/js/src/forum/addLikesList.js b/extensions/likes/js/src/forum/addLikesList.js index b3160ce42..8b647200a 100644 --- a/extensions/likes/js/src/forum/addLikesList.js +++ b/extensions/likes/js/src/forum/addLikesList.js @@ -5,9 +5,9 @@ import Link from 'flarum/common/components/Link'; import punctuateSeries from 'flarum/common/helpers/punctuateSeries'; import username from 'flarum/common/helpers/username'; import icon from 'flarum/common/helpers/icon'; +import Button from 'flarum/common/components/Button'; import PostLikesModal from './components/PostLikesModal'; -import Button from '@flarum/core/src/common/components/Button'; export default function () { extend(CommentPost.prototype, 'footerItems', function (items) { diff --git a/extensions/likes/js/src/forum/components/PostLikesModal.tsx b/extensions/likes/js/src/forum/components/PostLikesModal.tsx index e4ab35494..12e8fe339 100644 --- a/extensions/likes/js/src/forum/components/PostLikesModal.tsx +++ b/extensions/likes/js/src/forum/components/PostLikesModal.tsx @@ -7,8 +7,8 @@ import type { IInternalModalAttrs } from 'flarum/common/components/Modal'; import type Post from 'flarum/common/models/Post'; import type Mithril from 'mithril'; import PostLikesModalState from '../states/PostLikesModalState'; -import Button from '@flarum/core/src/common/components/Button'; -import LoadingIndicator from '@flarum/core/src/common/components/LoadingIndicator'; +import Button from 'flarum/common/components/Button'; +import LoadingIndicator from 'flarum/common/components/LoadingIndicator'; export interface IPostLikesModalAttrs extends IInternalModalAttrs { post: Post; diff --git a/extensions/likes/js/src/forum/states/PostLikesModalState.ts b/extensions/likes/js/src/forum/states/PostLikesModalState.ts index baacedffc..35b31a1ec 100644 --- a/extensions/likes/js/src/forum/states/PostLikesModalState.ts +++ b/extensions/likes/js/src/forum/states/PostLikesModalState.ts @@ -1,4 +1,4 @@ -import PaginatedListState, { PaginatedListParams } from '@flarum/core/src/common/states/PaginatedListState'; +import PaginatedListState, { PaginatedListParams } from 'flarum/common/states/PaginatedListState'; import User from 'flarum/common/models/User'; export interface PostLikesModalListParams extends PaginatedListParams { diff --git a/extensions/package-manager/js/src/admin/components/Updater.tsx b/extensions/package-manager/js/src/admin/components/Updater.tsx index ac5d9fa3e..9cf086fda 100755 --- a/extensions/package-manager/js/src/admin/components/Updater.tsx +++ b/extensions/package-manager/js/src/admin/components/Updater.tsx @@ -7,7 +7,7 @@ import MajorUpdater from './MajorUpdater'; import ExtensionItem from './ExtensionItem'; import { Extension } from 'flarum/admin/AdminApplication'; import Alert from 'flarum/common/components/Alert'; -import ItemList from '@flarum/core/src/common/utils/ItemList'; +import ItemList from 'flarum/common/utils/ItemList'; export interface IUpdaterAttrs extends ComponentAttrs {} diff --git a/extensions/tags/js/src/common/helpers/tagsLabel.js b/extensions/tags/js/src/common/helpers/tagsLabel.js index e53124727..e32d4ced2 100644 --- a/extensions/tags/js/src/common/helpers/tagsLabel.js +++ b/extensions/tags/js/src/common/helpers/tagsLabel.js @@ -1,7 +1,7 @@ import extract from 'flarum/common/utils/extract'; import tagLabel from './tagLabel'; import sortTags from '../utils/sortTags'; -import classList from '@flarum/core/src/common/utils/classList'; +import classList from 'flarum/common/utils/classList'; export default function tagsLabel(tags, attrs = {}) { const children = [];