Remove duplicate components in web frontend Avatar, Badge, CopyCode, and Pagination (#3741)

This commit is contained in:
Prospector
2025-06-18 17:07:15 -07:00
committed by GitHub
parent ba4fecb0cb
commit dbde3c4669
20 changed files with 55 additions and 508 deletions

View File

@@ -103,10 +103,8 @@ import {
ModrinthIcon,
ScaleIcon,
} from "@modrinth/assets";
import { AutoLink, OverflowMenu, useRelativeTime } from "@modrinth/ui";
import { AutoLink, Avatar, Badge, OverflowMenu, useRelativeTime } from "@modrinth/ui";
import { renderString } from "@modrinth/utils";
import Avatar from "~/components/ui/Avatar.vue";
import Badge from "~/components/ui/Badge.vue";
import { isStaff } from "~/helpers/users.js";
const props = defineProps({