+
@@ -40,7 +40,7 @@ export default function UserDescriptionComponent({
diff --git a/src/features/page-profile/user-preference/card-category/components/List-categorys.tsx b/src/features/page-profile/user-preference/card-category/components/List-categorys.tsx
index ef815d2..190c491 100644
--- a/src/features/page-profile/user-preference/card-category/components/List-categorys.tsx
+++ b/src/features/page-profile/user-preference/card-category/components/List-categorys.tsx
@@ -1,5 +1,6 @@
'use client'
+import { Card } from '@/components/ui/card'
import React from 'react'
export default function ListCategorys({
@@ -8,18 +9,18 @@ export default function ListCategorys({
children: React.ReactNode
}) {
return (
- <>
+
{Array.from({ length: 1 }, (_, i) => i + 1).map(i => (
-
+
Categoria #{i}
{children}
))}
- >
+
)
}
diff --git a/src/features/page-profile/user-preference/card-category/components/rpgStyle-list.tsx b/src/features/page-profile/user-preference/card-category/components/rpgStyle-list.tsx
index d5f5600..5f51ea4 100644
--- a/src/features/page-profile/user-preference/card-category/components/rpgStyle-list.tsx
+++ b/src/features/page-profile/user-preference/card-category/components/rpgStyle-list.tsx
@@ -1,17 +1,17 @@
'use client'
import React from 'react'
-import {
- Select,
- SelectContent,
- SelectGroup,
- SelectItem,
- SelectLabel,
- SelectTrigger,
- SelectValue,
-} from '@/components/ui/select'
-import { cn } from '@/lib/utils'
-import { listValues, useRpgStyle } from '../hooks/useRpgStyle'
+// import {
+// Select,
+// SelectContent,
+// SelectGroup,
+// SelectItem,
+// SelectLabel,
+// SelectTrigger,
+// SelectValue,
+// } from '@/components/ui/select'
+// import { cn } from '@/lib/utils'
+import { useRpgStyle } from '../hooks/useRpgStyle'
import useCategory from '../../components/category'
import { RPGStyle } from '../../types'
import { EnumRPGTypes } from '../hooks/enumRPGType'
@@ -21,48 +21,55 @@ export interface RpgStylelistProps {
}
export function RpgStylelist({ rpgStyle }: RpgStylelistProps) {
- const { handleSelectValue, selectValue } = useRpgStyle(rpgStyle)
+ const { selectValue } = useRpgStyle(rpgStyle)
const { getBackgroundColor } = useCategory()
return (
-