Skip to content

Commit

Permalink
Merge pull request #575 from threshold-network/update-copy-on-unmint-…
Browse files Browse the repository at this point in the history
…page

Update copy on the Unmint page

Update copy on the Unmint page:
- set correct copy and link to the resources on the Unmint details page,
- adjust the redemption time.
  • Loading branch information
michalsmiarowski committed Jul 14, 2023
2 parents 6473557 + dbbaa83 commit 01b624f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/pages/tBTC/Bridge/Unmint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const UnmintFormPage: PageComponent = ({}) => {
subTitle="Unmint your tBTC tokens"
/>
<BodyMd color="gray.500">
Unminting requires one Ethereum transaction and it takes around 5 hours.
Unminting requires one Ethereum transaction and it takes around 3 hours.
</BodyMd>
<UnmintForm
maxTokenAmount={balance.toString()}
Expand All @@ -122,7 +122,7 @@ const UnmintAsideLayout = () => {
<LabelSm>Duration</LabelSm>
<HStack mt="4" spacing="4">
<BoxLabel variant="solid" status="primary">
~ 5 Hours
~ 3 Hours
</BoxLabel>
<Box>
<BodyXs as="span" color="gray.500">
Expand Down
10 changes: 5 additions & 5 deletions src/pages/tBTC/Bridge/UnmintDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import { ProcessCompletedBrandGradientIcon } from "./components/BridgeProcessDet
import { featureFlags } from "../../../constants"
import { useFetchRedemptionDetails } from "../../../hooks/tbtc/useFetchRedemptionDetails"
import { BridgeProcessDetailsPageSkeleton } from "./components/BridgeProcessDetailsPageSkeleton"
import { ExternalHref } from "../../../enums"

const pendingRedemption = {
redemptionRequestedTxHash:
Expand Down Expand Up @@ -163,7 +164,7 @@ export const UnmintDetails: PageComponent = () => {
left="50%"
transform="translateX(-50%)"
>
usual duration - 5 hours
usual duration - 3 hours
</Badge>
<TimelineItem status="active">
<TimelineBreakpoint>
Expand Down Expand Up @@ -276,10 +277,9 @@ export const UnmintDetails: PageComponent = () => {
</List>
{!shouldDisplaySuccessStep && (
<BridgeProcessResource
// TODO: set correct props here
title="Commodo ullamcorper a lacus vestibulum sed"
subtitle="Diam sit amet nisl suscipit adipiscing bibendum est ultricies integer."
link="TODO"
title="Minters and Guardians in Optimistic Minting"
subtitle="A phased approach with two main roles: Minters and Guardians."
link={ExternalHref.mintersAndGuardiansDocs}
/>
)}
</>
Expand Down

0 comments on commit 01b624f

Please sign in to comment.