1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00
elk/composables/status.ts
2023-01-07 23:18:15 +01:00

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 } })