import { createAction } from 'typesafe-actions' ; import { SharedActionTypes } from './constants' ; export const navigate = createAction ( SharedActionTypes . NAVIGATE ) < string > ( ) ; export const setError = createAction ( SharedActionTypes . SET_ERROR ) < string | null > ( ) ; export const stopWallet = createAction ( SharedActionTypes . STOP_WALLET ) ( ) ;