This commit is contained in:
infinite-persistence 2021-11-19 10:43:27 +08:00
parent ff20663b8d
commit b351617d2f
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -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);