refactor: remove unused code/import

This commit is contained in:
2024-11-29 23:52:53 +00:00
parent ae8f62d77d
commit 5718cc1c51
4 changed files with 14 additions and 181 deletions

View File

@@ -1,7 +1,7 @@
import { useCallback, useState } from "react";
import useSWR, { mutate, useSWRConfig } from "swr";
import useSWR, { useSWRConfig } from "swr";
import type { Template, TemplateMeta, TemplateImage } from "./types";
import { fetchApi, type ApiError } from "@/api";
import { fetchApi } from "@/api";
function useTemplates() {
return useSWR(