Skip to content

Commit

Permalink
successfully sent on chain button not disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeshau committed Sep 6, 2024
1 parent 8978c92 commit d933dbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/app/src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ export const MainPage: React.FC<{}> = (props) => {
disabled={
!verificationPassed ||
isPending ||
isSuccess ||
!isSuccess ||
!writeContract
}
onClick={async () => {
Expand Down Expand Up @@ -1067,6 +1067,7 @@ export const MainPage: React.FC<{}> = (props) => {
<>
<Button
disabled={!proofStatus[Object.keys(proofStatus)[0]]}

onClick={async () => {
try {
verifyRemoteProof(entry.id);
Expand Down

0 comments on commit d933dbd

Please sign in to comment.