mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-20 07:49:57 +00:00
4 lines
234 B
TypeScript
4 lines
234 B
TypeScript
import type { mastodon } from 'masto'
|
|
|
|
export const navigateToStatus = ({ status, focusReply = false }: { status: mastodon.v1.Status; focusReply?: boolean }) => navigateTo({ path: getStatusRoute(status).href, state: { focusReply } })
|