Skip to content

Commit

Permalink
Merge pull request #3412 from cardano-foundation/fix/MET-2103-disable…
Browse files Browse the repository at this point in the history
…-stake-key-not-found

Fix/met 2103 disable stake key not found
  • Loading branch information
Sotatek-TaiTruong committed May 4, 2024
2 parents e2e9db9 + ce3c16f commit 4a95681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ const StepReviewModal: React.FC<IPropsModal> = ({ open, handleCloseModal, params
epochRanges: params?.epochRange,
timePattern: formatTypeDateTime(),
zoneOffset: timeZone == "UTC" ? 0 : moment().utcOffset(),
dateFormat: formatTypeDate()
dateFormat: formatTypeDate().replace("Date format ", "")
};
response = await generateStakePoolReport(paramsStakeKeyReport);
} else {
const events = params?.eventsKey?.map((event: string) => ({ type: event }));
const paramsStakeKeyReport = {
timePattern: formatTypeDateTime(),
dateFormat: formatTypeDate(),
dateFormat: formatTypeDate().replace("Date format ", ""),
zoneOffset: timeZone == "UTC" ? 0 : moment().utcOffset(),
stakeKey: params?.address,
reportName: params?.reportName || defaultReportName,
Expand Down
76 changes: 0 additions & 76 deletions src/pages/ContractDetail/ContractDetail.test.tsx

This file was deleted.

0 comments on commit 4a95681

Please sign in to comment.