Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sshmatrix committed Jan 24, 2024
1 parent deb4ad9 commit cd9405a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions components/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1684,12 +1684,8 @@ const Preview: React.FC<ModalProps> = ({
body: JSON.stringify(request),
})
.then((response) => response.json())
.then((data) => {
if (data.status) {
return data.status === "true";
} else {
return false;
}
.then(async (data) => {
return data.response.status;
});
} catch (error) {
console.error("ERROR:", "Failed to write Revision to CCIP2 backend");
Expand Down

0 comments on commit cd9405a

Please sign in to comment.