mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 22:25:21 +01:00
27 lines
652 B
TypeScript
27 lines
652 B
TypeScript
import React from 'react';
|
|
import { GridWrapper } from 'src/components/gridWrapper/GridWrapper';
|
|
import { NextPageContext } from 'next';
|
|
import { getProps } from 'src/utils/ssr';
|
|
import { ChainTransactions } from '../src/views/chain/transactions/ChainTransactions';
|
|
import { ChainUtxos } from '../src/views/chain/utxos/ChainUtxos';
|
|
|
|
const ChainView = () => {
|
|
return (
|
|
<>
|
|
<ChainUtxos />
|
|
<ChainTransactions />
|
|
</>
|
|
);
|
|
};
|
|
|
|
const Wrapped = () => (
|
|
<GridWrapper>
|
|
<ChainView />
|
|
</GridWrapper>
|
|
);
|
|
|
|
export default Wrapped;
|
|
|
|
export async function getServerSideProps(context: NextPageContext) {
|
|
return await getProps(context);
|
|
}
|