Skip to content

Commit

Permalink
Merge pull request #144 from multiversx/rt/fix/data-decode
Browse files Browse the repository at this point in the history
Data Decode
  • Loading branch information
radumojic authored Dec 5, 2024
2 parents fa5155e + bff4620 commit 58b33ac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/DataDecode/DataDecode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export const DataDecode = ({
<div className='d-flex button-holder'>
<CopyButton text={displayValue} className='copy-button' />
<Dropdown
id='dataDecodeTypeDropdown'
className='position-absolute'
onSelect={handleSelect}
onToggle={(e) => {
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/urlFilters/useGetTransactionDecodeFilters.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { stringIsInteger } from '@multiversx/sdk-dapp/utils/validation/stringIsInteger';
import { DecodeMethodEnum } from '@multiversx/sdk-dapp/types';
import { stringIsInteger } from '@multiversx/sdk-dapp/utils/validation/stringIsInteger';
import { useSearchParams } from 'react-router-dom';

const checkType = (type: string) =>
Expand Down
3 changes: 2 additions & 1 deletion src/hooks/urlFilters/useGetTransactionUrlHashParams.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useLocation } from 'react-router-dom';
import { DecodeMethodEnum } from '@multiversx/sdk-dapp/types';
import { useLocation } from 'react-router-dom';

import { useGetTransactionDecodeFilters } from 'hooks';

export interface TransactionDecodeParamsType {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import React, { useEffect, useState } from 'react';
import { DecodeMethodEnum } from '@multiversx/sdk-dapp/types';
import { Anchorme } from 'react-anchorme';
import { useLocation, useNavigate } from 'react-router-dom';
import { DecodeMethodEnum } from '@multiversx/sdk-dapp/types';

import { MAX_DISPLAY_TX_DATA_LENGTH } from 'appConstants';
import { DetailItem, ModalLink, DataDecode } from 'components';
import { truncate } from 'helpers';
Expand Down

0 comments on commit 58b33ac

Please sign in to comment.