rewrite some fetch methods to use the useAxios hook

This commit is contained in:
geoffrey45
2022-06-16 14:18:45 +03:00
parent 600b267ce4
commit 92e2420174
17 changed files with 305 additions and 284 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { Playlist, Track } from "../interfaces";
import Router from "../router";
import { Option } from "../interfaces";
import { getAllPlaylists, addTrackToPlaylist } from "../composables/playlists";
import { getAllPlaylists, addTrackToPlaylist } from "../composables/fetch/playlists";
import useQueueStore from "../stores/queue";
import useModalStore from "../stores/modal";