Skip to content
Permalink
Browse files

[DDW-893] Flow errors

  • Loading branch information...
daniloprates committed Sep 12, 2019
1 parent a36f2cb commit 7c0f4fc37c8cc24212f8e0d830efdfd2b5dcc973
@@ -2,7 +2,7 @@
import BigNumber from 'bignumber.js';

export type AdaWallet = {
createdAt: string,
createdAt: Date,
syncState: WalletSyncState,
balance: number,
hasSpendingPassword: boolean,
@@ -17,7 +17,7 @@ export type NavDropdownProps = {
...$Exact<NavButtonProps>,
type: 'dropdown',
options: Array<{ value: number | string, label: string }>,
hasNotification: boolean,
hasNotification?: boolean,
};

type Props = {
@@ -73,7 +73,7 @@ export default class Wallet extends Component<Props> {
0
);
const hasNotification =
wallets.active &&
!!wallets.active &&
wallets.active.mnemonicsConfirmationStatus ===
WalletStatuses.NOTIFICATION;

@@ -73,9 +73,9 @@ export type WalletProps = {
isDelegated?: boolean,
delegatedStakePool?: StakePool,
createdAt: Date,
mnemonicsConfirmationDate: ?Date,
mnemonicsConfirmationStatus: string,
mnemonicsConfirmationStatusType: string,
mnemonicsConfirmationDate?: ?Date,
mnemonicsConfirmationStatus?: string,
mnemonicsConfirmationStatusType?: string,
};

export default class Wallet {
@@ -3,7 +3,7 @@ import hash from 'hash.js';
import faker from 'faker';
import moment from 'moment';
import BigNumber from 'bignumber.js';
import {
import Wallet, {
WalletStatuses,
WalletStatusesType,
} from '../../../source/renderer/app/domains/Wallet';
@@ -12,7 +12,6 @@ import {
transactionStates,
transactionTypes,
} from '../../../source/renderer/app/domains/WalletTransaction';
import Wallet from '../../../source/renderer/app/domains/Wallet';
import WalletAddress from '../../../source/renderer/app/domains/WalletAddress';
import { LOVELACES_PER_ADA } from '../../../source/renderer/app/config/numbersConfig';
import type {

0 comments on commit 7c0f4fc

Please sign in to comment.
You can’t perform that action at this time.