diff --git a/components/SelectValidator.tsx b/components/SelectValidator.tsx
index 13d3bc2..d07ec6a 100644
--- a/components/SelectValidator.tsx
+++ b/components/SelectValidator.tsx
@@ -7,6 +7,7 @@ import {
CommandGroup,
CommandInput,
CommandItem,
+ CommandList,
} from "@/components/ui/command";
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover";
import { useChains } from "@/context/ChainsContext";
@@ -39,9 +40,8 @@ export default function SelectValidator({
className="mb-4 w-full max-w-[300px] justify-between border-white bg-fuchsia-900 hover:bg-fuchsia-900"
>
{validatorAddress
- ? validators?.find(
- (validatorItem) => validatorAddress === validatorItem.operatorAddress,
- )?.description.moniker || "Unknown validator"
+ ? validators.find((validatorItem) => validatorAddress === validatorItem.operatorAddress)
+ ?.description.moniker || "Unknown validator"
: "Select validator…"}
@@ -53,29 +53,31 @@ export default function SelectValidator({
value={searchText}
onValueChange={setSearchText}
/>
- No framework found.
-
- {validators?.map((validatorItem) => (
- {
- setValidatorAddress(validatorItem.operatorAddress);
- setOpen(false);
- }}
- >
-
- {validatorItem.description.moniker}
-
- ))}
-
+ No validators found.
+
+
+ {validators.map((validatorItem) => (
+ {
+ setValidatorAddress(validatorItem.operatorAddress);
+ setOpen(false);
+ }}
+ >
+
+ {validatorItem.description.moniker}
+
+ ))}
+
+