Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const removeTab = (id: string) => action(Type.REMOVE_TAB, id);
export const progressUpdated = (torrent: Torrent) => action(types.WEBTORRENT_PROGRESS_UPDATED, { torrent })
export const infoUpdated = (torrent: Torrent) => action(types.WEBTORRENT_INFO_UPDATED, { torrent })
export const notInvited = () => action(NOT_INVITED)
export const UNITY_CLIENT_LOADED = 'Rendering engine finished loading.'
const increment = (amount: number) => action(INCREMENT, amount);
const decrement = (amount: number) => action(DECREMENT, amount);
export const onPromotions = (properties: Rewards.PromotionResponse) => action(types.ON_PROMOTIONS, {
properties
})
export const login = () => action(actionTypes.LOGIN);
export const fetchError = (message: string): AnyAction => action(BlockInfoActionTypes.FETCH_ERROR, message);
export const deployToLandSuccess = (deployment: Deployment) => action(DEPLOY_TO_LAND_SUCCESS, { deployment })
export const deployToLandFailure = (error: string) => action(DEPLOY_TO_LAND_FAILURE, { error })
export const fetchPollsSuccess = (
polls: PollWithAssociations[],
total: number,
filters: PollsRequestFilters
) => action(FETCH_POLLS_SUCCESS, { polls, total, filters })
export const fetchPollsFailure = (error: string) =>
export const getTipTable = () => action(types.GET_TIP_TABLE)