refactor(guides) : consolidate duplicate guide and Stygian logic
This commit is contained in:
@@ -11,6 +11,7 @@ import {
|
||||
import { Card, CardContent } from "@/components/ui/card";
|
||||
import { LunarisText } from "@/components/public/lunaris-text";
|
||||
import { parseLunarisText } from "@/lib/catalog/lunaris";
|
||||
import { stygianBossPositionLabels } from "@/lib/stygian/constants";
|
||||
|
||||
export type StygianBossDisplay = {
|
||||
name: string;
|
||||
@@ -71,7 +72,7 @@ export function StygianBossTab({
|
||||
position: number;
|
||||
priority?: boolean;
|
||||
}) {
|
||||
const positionLabel = ["บน", "กลาง", "ล่าง"][position];
|
||||
const positionLabel = stygianBossPositionLabels[position];
|
||||
return (
|
||||
<>
|
||||
{boss ? (
|
||||
|
||||
Reference in New Issue
Block a user