fix: wrong menu item in repost button
This commit is contained in:
@@ -41,11 +41,11 @@ export function NoteRepost({ large = false }: { large?: boolean }) {
|
|||||||
|
|
||||||
const menuItems = await Promise.all([
|
const menuItems = await Promise.all([
|
||||||
MenuItem.new({
|
MenuItem.new({
|
||||||
text: "Quote",
|
text: "Repost",
|
||||||
action: async () => repost(),
|
action: async () => repost(),
|
||||||
}),
|
}),
|
||||||
MenuItem.new({
|
MenuItem.new({
|
||||||
text: "Repost",
|
text: "Quote",
|
||||||
action: () => LumeWindow.openEditor(null, event.id),
|
action: () => LumeWindow.openEditor(null, event.id),
|
||||||
}),
|
}),
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user