From 22440827cafb8ccc4621e49df12b96b1192dd5f0 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 15 May 2019 14:32:08 +0200 Subject: [PATCH] output total assets in the marketplace, use new Market Provider for it --- client/src/components/organisms/Footer.tsx | 9 ++++ client/src/context/MarketProvider.tsx | 59 ++++++++++++++++++++++ client/src/context/UserProvider.tsx | 5 +- client/src/context/index.tsx | 2 + 4 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 client/src/context/MarketProvider.tsx diff --git a/client/src/components/organisms/Footer.tsx b/client/src/components/organisms/Footer.tsx index 02f147b..24a1c2f 100644 --- a/client/src/components/organisms/Footer.tsx +++ b/client/src/components/organisms/Footer.tsx @@ -1,4 +1,5 @@ import React from 'react' +import { Market } from '../../context' import Content from '../atoms/Content' import styles from './Footer.module.scss' @@ -6,6 +7,14 @@ import meta from '../../data/meta.json' const Footer = () => (