mirror of
https://github.com/elk-zone/elk.git
synced 2025-05-10 09:14:17 +03:00
feat: disable SSR
This commit is contained in:
parent
e59b3e5db2
commit
a6578155ae
29 changed files with 109 additions and 175 deletions
components/status
|
@ -5,8 +5,6 @@ const { status } = defineProps<{
|
|||
status: Status
|
||||
}>()
|
||||
|
||||
const masto = await useMasto()
|
||||
|
||||
// Use different states to let the user press different actions right after the other
|
||||
const isLoading = $ref({ reblogged: false, favourited: false, bookmarked: false })
|
||||
async function toggleStatusAction(action: 'reblogged' | 'favourited' | 'bookmarked', newStatus: Promise<Status>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue