Fix silly typo, format

This commit is contained in:
naskya 2023-05-11 20:28:32 +09:00
parent 6ac20d553c
commit 6024d55d45

View File

@ -182,10 +182,11 @@ 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,
@ -198,7 +199,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
visibility: props.note.visibility,
localOnly: true,
}
});
);
const el =
ev &&
((ev.currentTarget ?? ev.target) as