4 lines
220 B
TypeScript
4 lines
220 B
TypeScript
import type { Status } from 'masto'
|
|
|
|
export const navigateToStatus = ({ status, focusReply = false }: { status: Status; focusReply?: boolean }) => navigateTo({ path: getStatusRoute(status).href, state: { focusReply } })
|