mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 20:13:57 +02:00
refactor
This commit is contained in:
@@ -39,7 +39,7 @@ export async function getNoteClipMenu(props: {
|
||||
}
|
||||
}
|
||||
|
||||
const appearNote = getAppearNote(props.note);
|
||||
const appearNote = getAppearNote(props.note) ?? props.note;
|
||||
|
||||
const clips = await clipsCache.fetch();
|
||||
const menu: MenuItem[] = [...clips.map(clip => ({
|
||||
|
||||
Reference in New Issue
Block a user