diff --git a/src/components/mood/manage/use-mood-tag-manage.ts b/src/components/mood/manage/use-mood-tag-manage.ts index fa179b887..cd71232ae 100644 --- a/src/components/mood/manage/use-mood-tag-manage.ts +++ b/src/components/mood/manage/use-mood-tag-manage.ts @@ -62,15 +62,6 @@ export interface ManageCatalog { categories: ManageCategory[]; } -export interface MoodTagLayout { - groupOrder?: string[]; - placements?: Record; -} - -/** Per-user ceilings — mirror the server's 422 caps for friendly copy. */ -export const MAX_CUSTOM_TAGS = 50; -export const MAX_CUSTOM_GROUPS = 12; - export function useMoodTagManage(enabled: boolean) { return useQuery({ queryKey: queryKeys.moodTagManage(), @@ -80,14 +71,6 @@ export function useMoodTagManage(enabled: boolean) { }); } -export function useMoodTagLayout(enabled: boolean) { - return useQuery({ - queryKey: queryKeys.moodTagLayout(), - queryFn: async () => apiGet("/api/mood/tags/layout"), - enabled, - }); -} - /** * Invalidate every mood-tag read after a management mutation: the * `["mood-tag-catalog"]` prefix catches both the picker read and the diff --git a/src/lib/mood/custom-tags.ts b/src/lib/mood/custom-tags.ts index 53f12540a..317435128 100644 --- a/src/lib/mood/custom-tags.ts +++ b/src/lib/mood/custom-tags.ts @@ -21,7 +21,6 @@ import { MOOD_TAG_ICON_NAMES } from "@/lib/mood/icon-catalog"; export const CUSTOM_TAG_KEY_PREFIX = "custom:"; /** Stable category key + seeded id every custom tag hangs under. */ -export const CUSTOM_CATEGORY_KEY = "custom"; export const CUSTOM_CATEGORY_ID = "mtc_custom"; /** Per-user ceiling on custom tags (422 over the cap). */