Replace lru-cache dep with light util

This commit is contained in:
Kalle
2026-06-12 21:46:59 +03:00
parent 6bfa2ce6e2
commit ffa12b05cb
6 changed files with 117 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
import clsx from "clsx";
import { LRUCache } from "lru-cache";
import * as React from "react";
import type { Tables } from "~/db/tables";
import { useHydrated } from "~/hooks/useHydrated";
import { LRUCache } from "~/modules/cache";
import { BLANK_IMAGE_URL, discordAvatarUrl } from "~/utils/urls";
import styles from "./Avatar.module.css";