feat: marketplace page

This commit is contained in:
Junyan Qin
2025-08-16 18:05:33 +08:00
parent 5179b3e53a
commit 28d4b1dd61
35 changed files with 1095 additions and 395 deletions
@@ -24,7 +24,7 @@ import {
HoverCardTrigger,
} from '@/components/ui/hover-card';
import { useTranslation } from 'react-i18next';
import { i18nObj } from '@/i18n/I18nProvider';
import { extractI18nObject } from '@/i18n/I18nProvider';
export default function DynamicFormItemComponent({
config,
@@ -124,7 +124,7 @@ export default function DynamicFormItemComponent({
<SelectGroup>
{config.options?.map((option) => (
<SelectItem key={option.name} value={option.name}>
{i18nObj(option.label)}
{extractI18nObject(option.label)}
</SelectItem>
))}
</SelectGroup>