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
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.
// 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() {
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", {
host: props.host,
})) as AugmentedInstance;

View File

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

View File

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

View File

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