mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Fix silly typo, format
This commit is contained in:
parent
6ac20d553c
commit
6024d55d45
@ -182,23 +182,24 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
|
|||||||
if (canRenote) {
|
if (canRenote) {
|
||||||
buttonActions.push({
|
buttonActions.push({
|
||||||
text: `${i18n.ts.renote} (${i18n.ts.local})`,
|
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,
|
danger: false,
|
||||||
action: () => {
|
action: () => {
|
||||||
os.api("notes/create",
|
os.api(
|
||||||
|
"notes/create",
|
||||||
props.note.visibility === "specified"
|
props.note.visibility === "specified"
|
||||||
? {
|
? {
|
||||||
renoteId: props.note.id,
|
renoteId: props.note.id,
|
||||||
visibility: props.note.visibility,
|
visibility: props.note.visibility,
|
||||||
visibleUserIds: props.note.visibleUserIds,
|
visibleUserIds: props.note.visibleUserIds,
|
||||||
localOnly: true,
|
localOnly: true,
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
renoteId: props.note.id,
|
renoteId: props.note.id,
|
||||||
visibility: props.note.visibility,
|
visibility: props.note.visibility,
|
||||||
localOnly: true,
|
localOnly: true,
|
||||||
}
|
}
|
||||||
});
|
);
|
||||||
const el =
|
const el =
|
||||||
ev &&
|
ev &&
|
||||||
((ev.currentTarget ?? ev.target) as
|
((ev.currentTarget ?? ev.target) as
|
||||||
|
Loading…
Reference in New Issue
Block a user