src/domain/faucet/usecase/set-address/actionCreators.ts

Summary

Maintainability
A
0 mins
Test Coverage
/* eslint-disable @typescript-eslint/explicit-function-return-type */
import type { ActionsUnion } from 'domain/common/store.helper'
import { createAction } from 'domain/common/store.helper'

export const SetAddressActions = {
  addressSet: (address: string) => createAction('faucet/addressSet', { address })
}

export type SetAddressActionTypes = ActionsUnion<typeof SetAddressActions>