From fa1f7966959fb337d9b9dbd2c32e3aca37b485e3 Mon Sep 17 00:00:00 2001 From: Andrea Franz Date: Mon, 30 Mar 2020 16:23:01 +0200 Subject: [PATCH] add Home and update config --- app/js/components/Home.tsx | 13 +++++++++++++ app/js/reducers/index.ts | 1 - config/contracts.js | 9 ++++++--- 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 app/js/components/Home.tsx diff --git a/app/js/components/Home.tsx b/app/js/components/Home.tsx new file mode 100644 index 0000000..e3c3211 --- /dev/null +++ b/app/js/components/Home.tsx @@ -0,0 +1,13 @@ +import React from 'react'; +import { + useDispatch, +} from 'react-redux'; + +export default function() { + const dispatch = useDispatch(); + + return <> +

+

+ ; +} diff --git a/app/js/reducers/index.ts b/app/js/reducers/index.ts index adf1527..cb186c8 100644 --- a/app/js/reducers/index.ts +++ b/app/js/reducers/index.ts @@ -14,7 +14,6 @@ export interface RootState { bucket: BucketState, } - export default function(history) { return combineReducers({ web3: web3Reducer, diff --git a/config/contracts.js b/config/contracts.js index 8573f1e..b036281 100644 --- a/config/contracts.js +++ b/config/contracts.js @@ -30,9 +30,12 @@ module.exports = { // filteredFields: [], deploy: { - GiftBucket: { - deploy: false, - } + TestToken: { + args: ["TEST", 18], + }, + GiftBucketFactory: { + params: [], + }, } },