chore: fix linting and type safety across the project

This commit is contained in:
2026-03-26 15:51:45 +08:00
parent ec057ef2e5
commit 0d0dc187a5
46 changed files with 2461 additions and 312 deletions

View File

@@ -77,13 +77,21 @@ function Profile() {
}
};
interface InfoFieldProps {
icon: React.ElementType;
label: string;
value: string | null | undefined;
copyable?: boolean;
id?: string;
}
const InfoField = ({
icon: Icon,
label,
value,
copyable = false,
id = "",
}: any) => (
}: InfoFieldProps) => (
<Paper
withBorder
p="md"