give render function a more meaningful name

This commit is contained in:
mmv 2019-05-29 18:32:51 +04:00
parent 267f271364
commit ead30855a6
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ import { whenSafeDeployed } from './builder/safe.dom.utils'
afterEach(cleanup)
const fillOpenSafeForm = async (localStore: Store<GlobalState>) => {
const renderOpenSafeForm = async (localStore: Store<GlobalState>) => {
const provider = await getProviderInfo()
const walletRecord = makeProvider(provider)
localStore.dispatch(addProvider(walletRecord))
@ -87,7 +87,7 @@ const deploySafe = async (safe: React$Component<{}>, threshold: number, numOwner
}
const aDeployedSafe = async (specificStore: Store<GlobalState>, threshold?: number = 1, numOwners?: number = 1) => {
const safe: React$Component<{}> = await fillOpenSafeForm(specificStore)
const safe: React$Component<{}> = await renderOpenSafeForm(specificStore)
const safeAddress = await deploySafe(safe, threshold, numOwners)
return safeAddress