Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
miko committed Aug 17, 2023
1 parent 458b350 commit 9b5a38f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions flow-typed/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ declare type UserState = {
odyseeMembershipsPerClaimIds: ?{ [string]: string },
locale: ?LocaleInfo,
localeFailed: ?boolean,
userDeletionSuccess: ?boolean
};

declare type LocaleInfo = {
Expand Down
8 changes: 4 additions & 4 deletions ui/modal/modalRemoveAccount/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import BusyIndicator from 'component/common/busy-indicator';
import { FormField } from 'component/common/form';

type Props = {
user: ?User,
totalBalance: float,
user: User,
totalBalance: number,
// --- perform ---
doHideModal: () => void,
doUserFetch: () => void,
doSpentEverything: () => void,
doSpentEverything: () => Promise<any>,
doUserDeleteAccount: () => void,
doSendCreditsToOdysee: (string, float) => void,
doSendCreditsToOdysee: () => void,
};

export default function ModalRemoveAccount(props: Props) {
Expand Down
2 changes: 1 addition & 1 deletion ui/redux/reducers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const defaultState: UserState = {
locale: undefined,
localeFailed: undefined,
homepageFetched: false,
userDeletionSuccess: false,
userDeletionSuccess: undefined,
};

reducers[ACTIONS.AUTHENTICATION_STARTED] = (state) =>
Expand Down
2 changes: 2 additions & 0 deletions ui/redux/reducers/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export type WalletState = {
pendingSupportTransactions: {}, // { claimId: {txid: 123, amount 12.3}, }
pendingTxos: Array<string>,
abandonClaimSupportError?: string,
pendingSpendingEverythingTxid?: string,
};

const defaultState = {
Expand Down Expand Up @@ -105,6 +106,7 @@ const defaultState = {
fetchingTxosError: undefined,
pendingSupportTransactions: {},
pendingTxos: [],
pendingSpendingEverythingTxid: null,

abandonClaimSupportError: undefined,
};
Expand Down

0 comments on commit 9b5a38f

Please sign in to comment.