Skip to content

Commit

Permalink
Fix some typo and Update explorer URL
Browse files Browse the repository at this point in the history
  • Loading branch information
VegeBun-csj committed Sep 21, 2024
1 parent 9466e12 commit 6fd87b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/constants/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const RELEVANT_LINKS = [
value: 'DORA_EXPLORER',
iconName: IconName.Mintscan,
labelStringKey: DORA_KEYS.DORA_EXPLORER,
href: import.meta.env.VITE_DORA_EXPLORER_URL,
href: 'https://doravota.explorers.guru/',
},
{
value: 'TERMS_OF_USE',
Expand Down
4 changes: 2 additions & 2 deletions src/constants/localization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export const DORA_KEYS = {
export const DORA_LONG_SENTENCE = {
"CONFIRM_MIGRATION_DISCLAIMER_1": "I understand it may take 24~48 hours until my tokens are available on the Dora Vota.",
"CONFIRM_MIGRATION_DISCLAIMER_2": "I understand that my ethDORA tokens will be sent to a black hole address for permanent destruction in the Bridge Smart Contract and irrecoverable.",
"PENDING_MIGRATIONS_DESCRIPTION_I": 'This table lists all ongoing DORA token migrations from Ethereum to the Dora Vota. It refreshes periodically or upon a manual page reload.',
"PENDING_MIGRATIONS_DESCRIPTION_I": 'This table lists all pending DORA token migrations from Ethereum to the Dora Vota. It refreshes periodically or upon a manual page reload.',
"PENDING_MIGRATIONS_DESCRIPTION_II": 'Once a pending migration is listed, the migration will be completed within ~48 hours. Once the migration has been settled, it will be removed from this table during the next automatic update or when the page is manually refreshed.',
"PENDING_MIGRATIONS_DESCRIPTION_III": 'However, you can see all your migration records (including those that are pending or have been settled) in the "Mine" option. Please note that if the migration is pending, the Transaction Hash will display as 0x0000...00000. If your migration is settled, it will display the link of transaction hash of the successful migration on the Dora Vota.',
"PENDING_MIGRATIONS_DESCRIPTION_III": 'However, you can see all your migration records (including those that are pending or have been settled) in the Mine’ tab. Please note that if the migration is pending, the Transaction Hash will display as ‘Pneding migration’. If your migration is settled, it will display the link of transaction hash of the successful migration on the Dora Vota.',
"MIGRATION_FAQ_DORA_CHAIN_PORTAL": "What is the Dora Vota Migration Portal?",
"MIGRATION_FAQ_DORA_CHAIN_PORTAL_ANSWER": "The Dora Factory community is migrating the Ethereum ERC-20 DORA tokens (ethDORA) to the Dora Vota appchain. This portal assists ethDORA holders in engaging with the Ethereum smart contract to migrate their DORA tokens from Ethereum to the Dora Vota appchain.",
"MIGRATION_FAQ_WHAT_ADDRESS_CAN_INTERACT": "What addresses can interact with the portal to migrate ethDORA to Dora Vota Chain?",
Expand Down
6 changes: 3 additions & 3 deletions src/views/PendingMigrationsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ const getPendingMigrationsTableColumnDef = ({
renderCell: ({ txHash }) => (
<TableCell stacked>
{txHash === defaultTransactionHash ? (
"0x000000.....000000"
"Pending Migration"
) : (
<Link href={`${import.meta.env.VITE_DORA_EXPLORER_URL}/tx/${txHash.startsWith('0x') ? txHash.slice(2) : txHash}`} withIcon>
{truncateTransactionHash((txHash.startsWith('0x') ? txHash.slice(2) : txHash).valueOf())}
<Link href={`https://doravota.explorers.guru/transaction/${txHash.startsWith('0x') ? txHash.slice(2).toUpperCase() : txHash}`} withIcon>
{truncateTransactionHash((txHash.startsWith('0x') ? txHash.slice(2).toUpperCase() : txHash).valueOf())}
</Link>
)}
</TableCell>
Expand Down

0 comments on commit 6fd87b8

Please sign in to comment.