enhance(frontend): improve some caches
This commit is contained in:
parent
cd6428715e
commit
25e030a707
8 changed files with 23 additions and 68 deletions
|
@ -32,7 +32,7 @@ export async function getNoteClipMenu(props: {
|
|||
|
||||
const appearNote = isRenote ? props.note.renote as Misskey.entities.Note : props.note;
|
||||
|
||||
const clips = await clipsCache.fetch(() => os.api('clips/list'));
|
||||
const clips = await clipsCache.fetch();
|
||||
return [...clips.map(clip => ({
|
||||
text: clip.name,
|
||||
action: () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue