import { useActions } from "../../overmind"; export const LargeArrowBack = (props: { href?: string }) => { const actions = useActions(); return ( (props.href ? actions.routing.historyPush({ location: props.href }) : actions.routing.goBack()) // actions.routing.historyPush({ location: "/explore" }) } > ); };