mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-21 14:04:03 +01:00
18 lines
513 B
TypeScript
18 lines
513 B
TypeScript
import * as React from 'react';
|
|
import { ServerAccounts } from 'src/components/accounts/ServerAccounts';
|
|
import { NextPageContext } from 'next';
|
|
import { getProps } from 'src/utils/ssr';
|
|
import { LoadingCard } from 'src/components/loading/LoadingCard';
|
|
|
|
const Wrapped = () => (
|
|
<>
|
|
<ServerAccounts />
|
|
<LoadingCard noCard={true} loadingHeight={'80vh'} />
|
|
</>
|
|
);
|
|
|
|
export default Wrapped;
|
|
|
|
export async function getServerSideProps(context: NextPageContext) {
|
|
return await getProps(context, [], true);
|
|
}
|