fix: fill missing userId when open tip modal, close #2248

This commit is contained in:
Stephen Zhou
2024-12-26 11:52:05 +08:00
parent 1a306a52e3
commit 53ad291820
4 changed files with 15 additions and 5 deletions
@@ -7,7 +7,7 @@ import type { COMMAND_ID } from "./id"
export type TipCommand = Command<{
id: typeof COMMAND_ID.entry.tip
fn: (data: { userId?: string; feedId?: string; entryId?: string }) => void
fn: (data: { userId?: string | null; feedId?: string; entryId?: string }) => void
}>
export type StarCommand = Command<{