From b23903240b74a23968be1acd91f07a39d1dc66a2 Mon Sep 17 00:00:00 2001 From: reya Date: Fri, 20 Sep 2024 08:05:22 +0700 Subject: [PATCH] fix: wrong menu item in repost button --- src/components/note/buttons/repost.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/note/buttons/repost.tsx b/src/components/note/buttons/repost.tsx index a93ce42b..12273b15 100644 --- a/src/components/note/buttons/repost.tsx +++ b/src/components/note/buttons/repost.tsx @@ -41,11 +41,11 @@ export function NoteRepost({ large = false }: { large?: boolean }) { const menuItems = await Promise.all([ MenuItem.new({ - text: "Quote", + text: "Repost", action: async () => repost(), }), MenuItem.new({ - text: "Repost", + text: "Quote", action: () => LumeWindow.openEditor(null, event.id), }), ]);