refactor: improve event handling and layout adjustments in monster bars and showcase components
Gitea Auto Deploy / Deploy-Container (push) Successful in 40s

This commit is contained in:
2026-08-27 17:05:28 +07:00
parent 33f25a9af4
commit 0514167aa8
9 changed files with 238 additions and 72 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import { useTranslations } from "next-intl";
import { useMemo } from "react";
import { calcAffixBonus, calcBaseStatRaw, calcBonusStatRaw, calcMainAffixBonus, calcMainAffixBonusRaw, calcPromotion, calcSubAffixBonusRaw, getLocaleName, replaceByParam } from "@/helper";
import { mappingStats } from "@/constant/constant";
import RelicShowcase from "../showcaseCard/relicShowcase";
import QuickViewRelic from "./quickViewRelic";
import useLocaleStore from "@/stores/localeStore";
import useDetailDataStore from "@/stores/detailDataStore";
import useCurrentDataStore from "@/stores/currentDataStore";
@@ -491,7 +491,7 @@ export default function QuickView() {
{relicStats?.map((relic, index) => {
if (!relic || !avatarSelected) return null
return (
<RelicShowcase key={index} relic={relic} avatarInfo={avatarSelected} />
<QuickViewRelic key={index} relic={relic} avatarInfo={avatarSelected} />
)
})}