mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Fix toast dependency cycle
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { useAuthStore } from '/@/renderer/store';
|
import { useAuthStore } from '/@/renderer/store';
|
||||||
import { navidromeApi } from '/@/renderer/api/navidrome.api';
|
import { navidromeApi } from '/@/renderer/api/navidrome.api';
|
||||||
import { toast } from '/@/renderer/components';
|
import { toast } from '/@/renderer/components/toast';
|
||||||
import type {
|
import type {
|
||||||
AlbumDetailArgs,
|
AlbumDetailArgs,
|
||||||
RawAlbumDetailResponse,
|
RawAlbumDetailResponse,
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ import {
|
|||||||
albumListSortMap,
|
albumListSortMap,
|
||||||
sortOrderMap,
|
sortOrderMap,
|
||||||
} from '/@/renderer/api/types';
|
} from '/@/renderer/api/types';
|
||||||
import { toast } from '/@/renderer/components';
|
import { toast } from '/@/renderer/components/toast';
|
||||||
import { useAuthStore } from '/@/renderer/store';
|
import { useAuthStore } from '/@/renderer/store';
|
||||||
import { ServerListItem, ServerType } from '/@/renderer/types';
|
import { ServerListItem, ServerType } from '/@/renderer/types';
|
||||||
import { parseSearchParams } from '/@/renderer/utils';
|
import { parseSearchParams } from '/@/renderer/utils';
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ import type {
|
|||||||
RatingArgs,
|
RatingArgs,
|
||||||
} from '/@/renderer/api/types';
|
} from '/@/renderer/api/types';
|
||||||
import { useAuthStore } from '/@/renderer/store';
|
import { useAuthStore } from '/@/renderer/store';
|
||||||
import { toast } from '/@/renderer/components';
|
import { toast } from '/@/renderer/components/toast';
|
||||||
|
|
||||||
const getCoverArtUrl = (args: {
|
const getCoverArtUrl = (args: {
|
||||||
baseUrl: string;
|
baseUrl: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user