chore: formatting

This commit is contained in:
ThatOneCalculator 2023-05-07 12:29:02 -07:00
parent 91704cb07c
commit f2ffe07425
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
4 changed files with 9 additions and 10 deletions

View File

@ -606,8 +606,7 @@ export default async (
});
async function renderNoteOrRenoteActivity(data: Option, note: Note) {
if (data.localOnly ||
note.visibility !== "hidden") return null;
if (data.localOnly || note.visibility !== "hidden") return null;
const content =
data.renote &&

View File

@ -144,10 +144,7 @@ export default async (
});
//#region deliver
if (
Users.isLocalUser(user) &&
!note.localOnly
) {
if (Users.isLocalUser(user) && !note.localOnly) {
const content = renderActivity(await renderLike(record, note));
const dm = new DeliverManager(user, content);
if (note.userHost !== null) {

View File

@ -75,7 +75,10 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
let buttonActions = [];
if (props.note.visibility === "public" || props.note.visibility === "hidden") {
if (
props.note.visibility === "public" ||
props.note.visibility === "hidden"
) {
buttonActions.push({
text: i18n.ts.renote,
textStyle: "font-weight: bold",