diff --git a/apps/explorer/src/app/components/empty-list/empty-list.tsx b/apps/explorer/src/app/components/empty-list/empty-list.tsx index c54b13ed7..7e608a9b7 100644 --- a/apps/explorer/src/app/components/empty-list/empty-list.tsx +++ b/apps/explorer/src/app/components/empty-list/empty-list.tsx @@ -1,28 +1,31 @@ -import { t } from "@vegaprotocol/react-helpers"; +import { t } from '@vegaprotocol/react-helpers'; export type EmptyListProps = { - heading?: string - label?: string + heading?: string; + label?: string; }; /** * Renders the empty state from github ticket #1463 */ -const EmptyList = ({ - heading, - label -}: EmptyListProps) => { +const EmptyList = ({ heading, label }: EmptyListProps) => { return (
-
-
-
-
+
+
+
+
-
- {heading ?

{heading}

: null} - {label ?

{label}

: null} -
+
+ {heading ? ( +

+ {heading} +

+ ) : null} + {label ? ( +

{label}

+ ) : null} +
); }; diff --git a/apps/explorer/src/app/routes/blocks/id/block.tsx b/apps/explorer/src/app/routes/blocks/id/block.tsx index 5ca6a9279..aa102a085 100644 --- a/apps/explorer/src/app/routes/blocks/id/block.tsx +++ b/apps/explorer/src/app/routes/blocks/id/block.tsx @@ -113,7 +113,12 @@ const Block = () => { blockHeight={blockData.result.block.header.height} txCount={blockData.result.block.data.txs.length} /> - ) : } + ) : ( + + )} )}