From 4c1d0b9a59aaa0c00dad99c49f16b183051b3376 Mon Sep 17 00:00:00 2001 From: AzenKain Date: Sun, 12 Apr 2026 17:38:28 +0700 Subject: [PATCH] UPDATE: Fix some ui --- src/components/avatarBar/index.tsx | 4 ++-- src/components/importBar/copy.tsx | 4 ++-- src/components/lightconeBar/index.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/avatarBar/index.tsx b/src/components/avatarBar/index.tsx index 0bc63fb..550c6c9 100644 --- a/src/components/avatarBar/index.tsx +++ b/src/components/avatarBar/index.tsx @@ -69,7 +69,7 @@ export default function AvatarBar({ onClose }: { onClose?: () => void }) { />
- {Object.entries(damageType).map(([key, value]) => ( + {Object.entries(damageType).filter(([key]) => key !== "").map(([key, value]) => (
{ @@ -92,7 +92,7 @@ export default function AvatarBar({ onClose }: { onClose?: () => void }) {
- {Object.entries(baseType).map(([key, value]) => ( + {Object.entries(baseType).filter(([key]) => key !== "").map(([key, value]) => (
{ diff --git a/src/components/importBar/copy.tsx b/src/components/importBar/copy.tsx index 44a7917..0dff700 100644 --- a/src/components/importBar/copy.tsx +++ b/src/components/importBar/copy.tsx @@ -147,7 +147,7 @@ export default function CopyImport() { {/* Path */}
- {Object.entries(baseType).map(([key, value]) => ( + {Object.entries(baseType).filter(([key]) => key !== "").map(([key, value]) => (
{ @@ -174,7 +174,7 @@ export default function CopyImport() { {/* Element */}
- {Object.entries(damageType).map(([key, value]) => ( + {Object.entries(damageType).filter(([key]) => key !== "").map(([key, value]) => (
{ diff --git a/src/components/lightconeBar/index.tsx b/src/components/lightconeBar/index.tsx index cd4bfad..bda9d2c 100644 --- a/src/components/lightconeBar/index.tsx +++ b/src/components/lightconeBar/index.tsx @@ -75,7 +75,7 @@ export default function LightconeBar() {
Filter
- {Object.entries(baseType).map(([key, value]) => ( + {Object.entries(baseType).filter(([key]) => key !== "").map(([key, value]) => (
{