Skip to content

Commit

Permalink
fix: remove text format report
Browse files Browse the repository at this point in the history
  • Loading branch information
Sotatek-TaiTruong committed May 4, 2024
1 parent 4b01d21 commit ce3c16f
Showing 1 changed file with 2 additions and 2 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

0 comments on commit ce3c16f

Please sign in to comment.