Handle account sequence mismatch error #13

Merged
nabarun merged 3 commits from iv-chain-tx-error into main 2024-10-24 11:38:18 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit f28744a004 - Show all commits

View File

@ -223,8 +223,8 @@ const Configure = () => {
},
}}
>
<MenuItem value="LRN">Deployer LRN</MenuItem>
<MenuItem value="Auction">Create Auction</MenuItem>
<MenuItem value="LRN">Deployer LRN</MenuItem>
</Select>
)}
/>

View File

@ -56,7 +56,7 @@ export const DeploymentMenu = ({
const updateDeployment = async () => {
const isUpdated = await client.updateDeploymentToProd(deployment.id);
if (isUpdated) {
if (isUpdated.updateDeploymentToProd) {
await onUpdate();
toast({
id: 'deployment_changed_to_production',
@ -77,7 +77,7 @@ export const DeploymentMenu = ({
const redeployToProd = async () => {
const isRedeployed = await client.redeployToProd(deployment.id);
setConfirmButtonLoadingLoading(false);
if (isRedeployed) {
if (isRedeployed.redeployToProd) {
await onUpdate();
toast({
id: 'redeployed_to_production',
@ -100,7 +100,7 @@ export const DeploymentMenu = ({
project.id,
deployment.id,
);
if (isRollbacked) {
if (isRollbacked.rollbackDeployment) {
await onUpdate();
toast({
id: 'deployment_rolled_back',
@ -124,7 +124,7 @@ export const DeploymentMenu = ({
setIsConfirmDeleteLoading(false);
setDeleteDeploymentDialog((preVal) => !preVal);
if (isDeleted) {
if (isDeleted.deleteDeployment) {
await onUpdate();
toast({
id: 'deployment_removal_requested',