chore: formatting

This commit is contained in:
ThatOneCalculator 2023-05-08 13:01:06 -07:00
parent 3dc2a591ec
commit 39c6949321
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
>