fix incomplete revert

This commit is contained in:
ThatOneCalculator 2023-05-07 18:05:11 -07:00
parent ba7418aa6d
commit 6126b43aa9
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -103,7 +103,10 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
} }
if (["public", "home"].includes(props.note.visibility)) { if (["public", "home"].includes(props.note.visibility)) {
buttonActions.push({
text: `${i18n.ts.renote} (${i18n.ts._visibility.home})`,
icon: "ph-house ph-bold ph-lg", icon: "ph-house ph-bold ph-lg",
danger: false,
action: () => { action: () => {
os.api("notes/create", { os.api("notes/create", {
renoteId: props.note.id, renoteId: props.note.id,