Skip to content

Scheduling infrastructure for absolutely everyone.

removing more leading-none (#8464)

Peer Richelsenf6d00a41fb8b
diff --git a/.github/workflows/scripts/apply-issue-labels-to-pr.ts b/.github/workflows/scripts/apply-issue-labels-to-pr.ts
index 0993c6455ff..cfcfb259810 100644
--- a/.github/workflows/scripts/apply-issue-labels-to-pr.ts
+++ b/.github/workflows/scripts/apply-issue-labels-to-pr.ts
@@ -1,7 +1,6 @@
const https = require("https");
async function applyLabelFromLinkedIssueToPR(pr, token) {
-
// Get the labels from issues linked to the PR
const query = `
query GetLinkedIssues($owner: String!, $repo: String!, $prNumber: Int!) {
@@ -38,7 +37,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) {
headers: {
"Content-Type": "application/json",
"Content-Length": graphqlData.length,
- "Authorization": "Bearer " + token,
+ Authorization: "Bearer " + token,
"User-Agent": "Node.js",
},
};
@@ -52,14 +51,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) {
responseBody += chunk;
});
response.on("end", () => {
- resolve(
- JSON.parse(responseBody)
- ?.data
- ?.repository
- ?.pullRequest
- ?.closingIssuesReferences
- ?.nodes
- );
+ resolve(JSON.parse(responseBody)?.data?.repository?.pullRequest?.closingIssuesReferences?.nodes);
});
});
@@ -96,7 +88,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) {
headers: {
"Content-Type": "application/json",
"Content-Length": labelsData.length,
- "Authorization": "Bearer " + token,
+ Authorization: "Bearer " + token,
"User-Agent": "Node.js",
},
};
@@ -126,11 +118,9 @@ async function applyLabelFromLinkedIssueToPR(pr, token) {
console.log(`Error labelling PR: ${labelResult.message}`);
continue;
}
-
+
console.log(
- `Applied labels: ${labels.join(", ")} to PR #${
- pr.number
- } from linked issue #${issue.number}`
+ `Applied labels: ${labels.join(", ")} to PR #${pr.number} from linked issue #${issue.number}`
);
}
}
diff --git a/packages/app-store/apps.browser.generated.tsx b/packages/app-store/apps.browser.generated.tsx
index 743fe1d355e..1e279aaeffa 100644
--- a/packages/app-store/apps.browser.generated.tsx
+++ b/packages/app-store/apps.browser.generated.tsx
@@ -11,11 +11,11 @@ export const InstallAppButtonMap = {
vital: dynamic(() => import("./vital/components/InstallAppButton")),
};
export const AppSettingsComponentsMap = {
- "general-app-settings": dynamic(() =>
- import("./templates/general-app-settings/components/AppSettingsInterface")
+ "general-app-settings": dynamic(
+ () => import("./templates/general-app-settings/components/AppSettingsInterface")
),
- weather_in_your_calendar: dynamic(() =>
- import("./weather_in_your_calendar/components/AppSettingsInterface")
+ weather_in_your_calendar: dynamic(
+ () => import("./weather_in_your_calendar/components/AppSettingsInterface")
),
zapier: dynamic(() => import("./zapier/components/AppSettingsInterface")),
};
@@ -29,10 +29,10 @@ export const EventTypeAddonMap = {
qr_code: dynamic(() => import("./qr_code/components/EventTypeAppCardInterface")),
rainbow: dynamic(() => import("./rainbow/components/EventTypeAppCardInterface")),
stripepayment: dynamic(() => import("./stripepayment/components/EventTypeAppCardInterface")),
- "booking-pages-tag": dynamic(() =>
- import("./templates/booking-pages-tag/components/EventTypeAppCardInterface")
+ "booking-pages-tag": dynamic(
+ () => import("./templates/booking-pages-tag/components/EventTypeAppCardInterface")
),
- "event-type-app-card": dynamic(() =>
- import("./templates/event-type-app-card/components/EventTypeAppCardInterface")
+ "event-type-app-card": dynamic(
+ () => import("./templates/event-type-app-card/components/EventTypeAppCardInterface")
),
};
diff --git a/packages/ui/components/form/inputs/Label.tsx b/packages/ui/components/form/inputs/Label.tsx
index f0fbc11ee3b..cc3169f46f7 100644
--- a/packages/ui/components/form/inputs/Label.tsx
+++ b/packages/ui/components/form/inputs/Label.tsx
@@ -4,10 +4,7 @@ export function Label(props: JSX.IntrinsicElements["label"]) {
return (
<label
{...props}
- className={classNames(
- "text-default text-emphasis mb-2 block text-sm font-medium leading-none",
- props.className
- )}>
+ className={classNames("text-default text-emphasis mb-2 block text-sm font-medium", props.className)}>
{props.children}
</label>
);