mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 07:06:44 -06:00
use note capture
This commit is contained in:
parent
dc5a52b75b
commit
465a710b4b
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ export function useNoteCapture(props: {
|
|||
onDeleteCallback?: (id: Misskey.entities.Note['id']) => void | Promise<void>;
|
||||
}) {
|
||||
const note = props.note;
|
||||
const pureNote = props.pureNote;
|
||||
const pureNote = props.pureNote !== undefined ? props.pureNote : props.note;
|
||||
const connection = $i ? useStream() : null;
|
||||
|
||||
async function onStreamNoteUpdated(noteData): Promise<void> {
|
||||
|
|
Loading…
Reference in a new issue