chore: formatting

This commit is contained in:
ThatOneCalculator 2023-05-08 13:01:06 -07:00
parent 49abfba71a
commit 189e972e0d
No known key found for this signature in database
GPG key ID: 8703CACD01000000
5 changed files with 7 additions and 9 deletions

View file

@ -170,7 +170,8 @@ export default async (
) => ) =>
// rome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME // rome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
new Promise<Note>(async (res, rej) => { new Promise<Note>(async (res, rej) => {
const dontFederateInitially = data.localOnly || data.visibility === "hidden"; const dontFederateInitially =
data.localOnly || data.visibility === "hidden";
// If you reply outside the channel, match the scope of the target. // If you reply outside the channel, match the scope of the target.
// TODO (I think it's a process that could be done on the client side, but it's server side for now.) // TODO (I think it's a process that could be done on the client side, but it's server side for now.)

View file

@ -398,7 +398,8 @@ const usersPagination = {
}; };
async function fetch() { async function fetch() {
if (iAmAdmin) meta = (await os.api("admin/meta")) as AugmentedInstanceMetadata; if (iAmAdmin)
meta = (await os.api("admin/meta")) as AugmentedInstanceMetadata;
instance = (await os.api("federation/show-instance", { instance = (await os.api("federation/show-instance", {
host: props.host, host: props.host,
})) as AugmentedInstance; })) as AugmentedInstance;

View file

@ -29,7 +29,7 @@ export function openHelpMenu_(ev: MouseEvent) {
text: i18n.ts._apps.apps, text: i18n.ts._apps.apps,
icon: "ph-device-mobile ph-bold ph-lg", icon: "ph-device-mobile ph-bold ph-lg",
action: () => { action: () => {
window.open('https://calckey.org/', '_blank'); window.open("https://calckey.org/", "_blank");
}, },
}, },
{ {

View file

@ -63,9 +63,7 @@
> >
<small <small
>Powered by >Powered by
<a <a href="https://calckey.org/" target="_blank"
href="https://calckey.org/"
target="_blank"
>Calckey</a >Calckey</a
></small ></small
> >

View file

@ -69,9 +69,7 @@
> >
<small <small
>Powered by >Powered by
<a <a href="https://calckey.org/" target="_blank"
href="https://calckey.org/"
target="_blank"
>Calckey</a >Calckey</a
></small ></small
> >