From b351617d2fd4a6a555bcd4b296e0cd1db40d4a64 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Fri, 19 Nov 2021 10:43:27 +0800 Subject: [PATCH] Add flow --- extras/lbryinc/redux/actions/cost_info.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extras/lbryinc/redux/actions/cost_info.js b/extras/lbryinc/redux/actions/cost_info.js index f63857319..d924625b5 100644 --- a/extras/lbryinc/redux/actions/cost_info.js +++ b/extras/lbryinc/redux/actions/cost_info.js @@ -1,10 +1,11 @@ +// @flow import * as ACTIONS from 'constants/action_types'; import { Lbryio } from 'lbryinc'; import { selectClaimForUri } from 'redux/selectors/claims'; // eslint-disable-next-line import/prefer-default-export -export function doFetchCostInfoForUri(uri) { - return (dispatch, getState) => { +export function doFetchCostInfoForUri(uri: string) { + return (dispatch: Dispatch, getState: GetState) => { const state = getState(); const claim = selectClaimForUri(state, uri);