Skip to content

Commit

Permalink
안 쓰는 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeniuus committed Jul 28, 2024
1 parent c1e87ec commit ce3b8fc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/apis/api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useQuery } from "@tanstack/react-query"
import { stringify } from "querystring"

import { AccessibilitySummary } from "@/lib/models/accessibility"

Expand All @@ -9,13 +8,6 @@ import {QuestBuilding, QuestDetail, QuestPurposeType, QuestSummary} from "../mod
import { Region } from "../models/region"
import {EpochMillisTimestamp} from "@/lib/models/common";

export function useQuests() {
return useQuery({
queryKey: ["@quests"],
queryFn: () => http("/admin/clubQuests").then((res) => res.json() as Promise<QuestSummary[]>),
})
}

export function useQuest({ id }: { id: string }) {
return useQuery({
queryKey: ["@quests", id],
Expand Down

0 comments on commit ce3b8fc

Please sign in to comment.