feat: integrate nstart (#33)

This commit is contained in:
Cody Tseng 2025-01-29 15:32:26 +08:00 committed by GitHub
parent 7daa566cec
commit a264b747e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 154 additions and 47 deletions

View file

@ -94,7 +94,14 @@ export default function RepostButton({
<DropdownMenuItem onClick={repost} disabled={!canRepost}>
<Repeat /> {t('Repost')}
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setIsPostDialogOpen(true)}>
<DropdownMenuItem
onClick={(e) => {
e.stopPropagation()
checkLogin(() => {
setIsPostDialogOpen(true)
})
}}
>
<PencilLine /> {t('Quote')}
</DropdownMenuItem>
</DropdownMenuContent>