fix: wrong menu item in repost button

This commit is contained in:
reya 2024-09-20 08:05:22 +07:00
parent 872a6cee36
commit b23903240b

View File

@ -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),
}),
]);