mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-27 18:24:43 +10:00
feat: refactor news and migrate rest of useFetch to $dropFetch
This commit is contained in:
@@ -176,6 +176,5 @@ useHead({
|
||||
title: "Home",
|
||||
});
|
||||
|
||||
const headers = useRequestHeaders(["cookie"]);
|
||||
const libraryState = await $dropFetch("/api/v1/admin/library", { headers });
|
||||
const libraryState = await $dropFetch("/api/v1/admin/library");
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user