Fix silly typo, format
This commit is contained in:
parent
a719b386e7
commit
59010e2004
1 changed files with 15 additions and 14 deletions
|
@ -182,23 +182,24 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
|
|||
if (canRenote) {
|
||||
buttonActions.push({
|
||||
text: `${i18n.ts.renote} (${i18n.ts.local})`,
|
||||
icon: "ph-hand-first ph-bold ph-lg",
|
||||
icon: "ph-hand-fist ph-bold ph-lg",
|
||||
danger: false,
|
||||
action: () => {
|
||||
os.api("notes/create",
|
||||
os.api(
|
||||
"notes/create",
|
||||
props.note.visibility === "specified"
|
||||
? {
|
||||
renoteId: props.note.id,
|
||||
visibility: props.note.visibility,
|
||||
visibleUserIds: props.note.visibleUserIds,
|
||||
localOnly: true,
|
||||
}
|
||||
: {
|
||||
renoteId: props.note.id,
|
||||
visibility: props.note.visibility,
|
||||
localOnly: true,
|
||||
}
|
||||
});
|
||||
? {
|
||||
renoteId: props.note.id,
|
||||
visibility: props.note.visibility,
|
||||
visibleUserIds: props.note.visibleUserIds,
|
||||
localOnly: true,
|
||||
}
|
||||
: {
|
||||
renoteId: props.note.id,
|
||||
visibility: props.note.visibility,
|
||||
localOnly: true,
|
||||
}
|
||||
);
|
||||
const el =
|
||||
ev &&
|
||||
((ev.currentTarget ?? ev.target) as
|
||||
|
|
Loading…
Reference in a new issue