@@ -1046,7 +1046,8 @@ const StepOne = ({
|
||||
<Command>
|
||||
<CommandList>
|
||||
<CommandGroup heading={t("Mavjud qulayliklar")}>
|
||||
{badge?.data?.data?.results?.map((item: any) => {
|
||||
{amenitiesData?.data?.data?.results?.map(
|
||||
(item: any) => {
|
||||
const currentBadges =
|
||||
form.getValues("amenities") ?? [];
|
||||
const selected = currentBadges.includes(item.id);
|
||||
@@ -1087,7 +1088,8 @@ const StepOne = ({
|
||||
{item.name}
|
||||
</CommandItem>
|
||||
);
|
||||
})}
|
||||
},
|
||||
)}
|
||||
</CommandGroup>
|
||||
</CommandList>
|
||||
</Command>
|
||||
|
||||
Reference in New Issue
Block a user