Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
isstuev committed Oct 7, 2024
1 parent 8ec5ba9 commit 6f2dfa6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions pages/tx/[hash].tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { GetServerSideProps, NextPage } from 'next';
import dynamic from 'next/dynamic';
import React from 'react';

import type { Route } from 'nextjs-routes';
Expand All @@ -9,11 +8,10 @@ import PageNextJs from 'nextjs/PageNextJs';
import fetchApi from 'nextjs/utils/fetchApi';

import getQueryParamString from 'lib/router/getQueryParamString';
import Transaction from 'ui/pages/Transaction';

const pathname: Route['pathname'] = '/tx/[hash]';

const Transaction = dynamic(() => import('ui/pages/Transaction'), { ssr: false });

const Page: NextPage<Props> = (props: Props) => {
return (
<PageNextJs pathname="/tx/[hash]" query={ props.query }>
Expand Down
Binary file added public/static/image_long.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions ui/tx/details/TxInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Spinner,
Flex,
Tooltip,
Image,
chakra,
useColorModeValue,
Skeleton,
Expand Down Expand Up @@ -141,6 +142,10 @@ const TxInfo = ({ data, isLoading, socketStatus }: Props) => {
</GridItem>
) }

<GridItem colSpan={{ base: undefined, lg: 2 }} mb={ 2 }>
<Image src="/static/image_long.jpg" alt="Duck" w="900px"/>
</GridItem>

<DetailsInfoItem.Label
hint="Unique character string (TxID) assigned to every verified transaction"
isLoading={ isLoading }
Expand Down

0 comments on commit 6f2dfa6

Please sign in to comment.