remove TS warning

This commit is contained in:
Andrea Franz 2020-09-28 11:48:01 +02:00
parent 5a03647bcc
commit 8df34f8040
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
5 changed files with 1 additions and 6 deletions

View File

@ -1,7 +1,6 @@
import { RootState } from '../reducers';
import { Dispatch } from 'redux';
import { bucketsAddresses } from "../config";
import Bucket from '../contracts/Bucket.json';
import { newBucketContract } from "../utils";
import { TokenType } from "../reducers/buckets";
import IERC20Detailed from '../contracts/IERC20Detailed.json';

View File

@ -1,7 +1,6 @@
import { RootState } from '../reducers';
import ERC20BucketFactory from '../contracts/ERC20BucketFactory.json';
import NFTBucketFactory from '../contracts/NFTBucketFactory.json';
import ERC20Bucket from '../contracts/ERC20Bucket.json';
import IERC20Detailed from '../contracts/IERC20Detailed.json';
import IERC721Metadata from '../contracts/IERC721Metadata.json';
import { config } from "../config";

View File

@ -4,8 +4,6 @@ import {
} from 'react-redux';
export default function() {
const dispatch = useDispatch();
return <>
</>;
}

View File

@ -8,7 +8,6 @@ import {
} from 'react-redux';
import { recipientBucketsPath, buildRedeemablePath } from '../config';
import { loadBuckets, unloadBuckets } from "../actions/buckets";
import { ERC20Details } from "../reducers/buckets";
import { Link } from "react-router-dom";
interface BuckestListItemProps {

View File

@ -14,7 +14,7 @@ const initialState: DebugState = {
export const debugReducer = (state: DebugState = initialState, action: DebugActions): DebugState => {
switch (action.type) {
case DEBUG_WRITTEN: {
console.error(action.text);
console.log(action.text);
return {
...state,
lines: [