Skip to content
Merged

Stage #1769

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const RemoveValidatorsConfirmation: FC = () => {
{
cluster: clusterData,
publicKey: selectedPublicKeys[0] as Address,
operatorIds: operatorIds,
operatorIds,
},
options,
);
Expand All @@ -85,7 +85,7 @@ export const RemoveValidatorsConfirmation: FC = () => {
{
cluster: clusterData,
publicKeys: selectedPublicKeys as Address[],
operatorIds: bigintifyNumbers(cluster.data?.operators ?? []),
operatorIds,
},
options,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ export const MigrationEffectiveBalanceForm: FC<EffectiveBalanceFormProps> = ({
totalEffectiveBalance: z
.number()
.positive({ message: "Balance must be greater than 0" })
.min(totalEffectiveBalance),
// .max(maxEffectiveBalance),
.min(totalEffectiveBalance)
.max(maxEffectiveBalance),
}),
[totalEffectiveBalance],
[maxEffectiveBalance, totalEffectiveBalance],
);

const form = useForm<z.infer<typeof schema>>({
Expand Down