-
+
+
diff --git a/packages/astro/src/astro-components/control/ProtectSSR.astro b/packages/astro/src/astro-components/control/ProtectSSR.astro
index b7117428dbe..e894af3ee03 100644
--- a/packages/astro/src/astro-components/control/ProtectSSR.astro
+++ b/packages/astro/src/astro-components/control/ProtectSSR.astro
@@ -12,14 +12,4 @@ const isUnauthorized =
const hasProtectFallback = Astro.slots.has('protect-fallback');
---
-{
- isUnauthorized ? (
- hasProtectFallback ? (
-
- ) : (
-
- )
- ) : (
-
- )
-}
+{isUnauthorized ? hasProtectFallback ?
:
:
}
diff --git a/packages/astro/src/astro-components/control/SignedIn.astro b/packages/astro/src/astro-components/control/SignedIn.astro
index 4c6c33b0a4c..5b1b484e13d 100644
--- a/packages/astro/src/astro-components/control/SignedIn.astro
+++ b/packages/astro/src/astro-components/control/SignedIn.astro
@@ -5,15 +5,15 @@ import SignedInSSR from './SignedInSSR.astro';
import { isStaticOutput } from 'virtual:@clerk/astro/config';
type Props = {
- isStatic?: boolean
+ isStatic?: boolean;
/**
* The class name to apply to the outermost element of the component.
* This class is only applied to static components.
*/
- class?: string
-}
+ class?: string;
+};
-const { isStatic, class: className } = Astro.props
+const { isStatic, class: className } = Astro.props;
const SignedInComponent = isStaticOutput(isStatic) ? SignedInCSR : SignedInSSR;
---
diff --git a/packages/astro/src/astro-components/control/SignedInCSR.astro b/packages/astro/src/astro-components/control/SignedInCSR.astro
index c1010a4a179..750c60f718e 100644
--- a/packages/astro/src/astro-components/control/SignedInCSR.astro
+++ b/packages/astro/src/astro-components/control/SignedInCSR.astro
@@ -1,27 +1,30 @@
---
type Props = {
- class?: string
-}
+ class?: string;
+};
-const { class: className } = Astro.props
+const { class: className } = Astro.props;
---
-
+
diff --git a/packages/astro/src/astro-components/control/SignedInSSR.astro b/packages/astro/src/astro-components/control/SignedInSSR.astro
index 4253bcfe875..446b1997116 100644
--- a/packages/astro/src/astro-components/control/SignedInSSR.astro
+++ b/packages/astro/src/astro-components/control/SignedInSSR.astro
@@ -1,5 +1,5 @@
---
-const { userId } = Astro.locals.auth()
+const { userId } = Astro.locals.auth();
---
-{ userId ? : null }
+{userId ? : null}
diff --git a/packages/astro/src/astro-components/control/SignedOut.astro b/packages/astro/src/astro-components/control/SignedOut.astro
index 034df13f415..9161a518d3b 100644
--- a/packages/astro/src/astro-components/control/SignedOut.astro
+++ b/packages/astro/src/astro-components/control/SignedOut.astro
@@ -5,15 +5,15 @@ import SignedOutSSR from './SignedOutSSR.astro';
import { isStaticOutput } from 'virtual:@clerk/astro/config';
type Props = {
- isStatic?: boolean
+ isStatic?: boolean;
/**
* The class name to apply to the outermost element of the component.
* This class is only applied to static components.
*/
- class?: string
-}
+ class?: string;
+};
-const { isStatic, class: className } = Astro.props
+const { isStatic, class: className } = Astro.props;
const SignedOutComponent = isStaticOutput(isStatic) ? SignedOutCSR : SignedOutSSR;
---
diff --git a/packages/astro/src/astro-components/control/SignedOutCSR.astro b/packages/astro/src/astro-components/control/SignedOutCSR.astro
index 4540ef42ec9..3417917ac94 100644
--- a/packages/astro/src/astro-components/control/SignedOutCSR.astro
+++ b/packages/astro/src/astro-components/control/SignedOutCSR.astro
@@ -1,27 +1,30 @@
---
type Props = {
- class?: string
-}
+ class?: string;
+};
-const { class: className } = Astro.props
+const { class: className } = Astro.props;
---
-
+
diff --git a/packages/astro/src/astro-components/control/SignedOutSSR.astro b/packages/astro/src/astro-components/control/SignedOutSSR.astro
index 8b1b8154ad9..df4e890b890 100644
--- a/packages/astro/src/astro-components/control/SignedOutSSR.astro
+++ b/packages/astro/src/astro-components/control/SignedOutSSR.astro
@@ -1,5 +1,5 @@
---
-const { userId } = Astro.locals.auth()
+const { userId } = Astro.locals.auth();
---
-{ !userId ? : null }
+{!userId ? : null}
diff --git a/packages/astro/src/astro-components/interactive/CreateOrganization.astro b/packages/astro/src/astro-components/interactive/CreateOrganization.astro
index 733d1fcdf32..082f4ec617b 100644
--- a/packages/astro/src/astro-components/interactive/CreateOrganization.astro
+++ b/packages/astro/src/astro-components/interactive/CreateOrganization.astro
@@ -1,8 +1,11 @@
---
-import type { CreateOrganizationProps } from "@clerk/types";
-type Props = CreateOrganizationProps
+import type { CreateOrganizationProps } from '@clerk/types';
+type Props = CreateOrganizationProps;
-import InternalUIComponentRenderer from './InternalUIComponentRenderer.astro'
+import InternalUIComponentRenderer from './InternalUIComponentRenderer.astro';
---
-
+
diff --git a/packages/astro/src/astro-components/interactive/CustomProfilePageRenderer.astro b/packages/astro/src/astro-components/interactive/CustomProfilePageRenderer.astro
index a35b39c0564..73545add84e 100644
--- a/packages/astro/src/astro-components/interactive/CustomProfilePageRenderer.astro
+++ b/packages/astro/src/astro-components/interactive/CustomProfilePageRenderer.astro
@@ -1,16 +1,16 @@
---
interface Props {
- url: string
- label: string
- type: 'page' | 'link'
- component: 'organization-profile' | 'user-profile' | 'organization-switcher'
- reorderItemsLabels?: Readonly>
+ url: string;
+ label: string;
+ type: 'page' | 'link';
+ component: 'organization-profile' | 'user-profile' | 'organization-switcher';
+ reorderItemsLabels?: Readonly>;
}
-const { url, label, type, component, reorderItemsLabels = [] } = Astro.props
+const { url, label, type, component, reorderItemsLabels = [] } = Astro.props;
let labelIcon = '';
-let content = ''
+let content = '';
if (Astro.slots.has('label-icon')) {
labelIcon = await Astro.slots.render('label-icon');
@@ -22,55 +22,57 @@ if (Astro.slots.has('default') && type === 'page') {
---
diff --git a/packages/astro/src/astro-components/interactive/GoogleOneTap.astro b/packages/astro/src/astro-components/interactive/GoogleOneTap.astro
index e161a232ca5..d7913bdf5d0 100644
--- a/packages/astro/src/astro-components/interactive/GoogleOneTap.astro
+++ b/packages/astro/src/astro-components/interactive/GoogleOneTap.astro
@@ -1,8 +1,11 @@
---
-import type { GoogleOneTapProps } from "@clerk/types";
-type Props = GoogleOneTapProps
+import type { GoogleOneTapProps } from '@clerk/types';
+type Props = GoogleOneTapProps;
-import InternalUIComponentRenderer from './InternalUIComponentRenderer.astro'
+import InternalUIComponentRenderer from './InternalUIComponentRenderer.astro';
---
-
+
diff --git a/packages/astro/src/astro-components/interactive/InternalUIComponentRenderer.astro b/packages/astro/src/astro-components/interactive/InternalUIComponentRenderer.astro
index ca3f561bbfe..19b3108666c 100644
--- a/packages/astro/src/astro-components/interactive/InternalUIComponentRenderer.astro
+++ b/packages/astro/src/astro-components/interactive/InternalUIComponentRenderer.astro
@@ -5,7 +5,7 @@ import type { InternalUIComponentId } from '../../types';
interface Props {
[key: string]: unknown;
id?: string;
- component: InternalUIComponentId
+ component: InternalUIComponentId;
}
const { component, id, ...props } = Astro.props;
diff --git a/packages/astro/src/astro-components/interactive/OrganizationList.astro b/packages/astro/src/astro-components/interactive/OrganizationList.astro
index d5515f6c66a..27d2d77ab5e 100644
--- a/packages/astro/src/astro-components/interactive/OrganizationList.astro
+++ b/packages/astro/src/astro-components/interactive/OrganizationList.astro
@@ -1,8 +1,11 @@
---
-import type { OrganizationListProps } from "@clerk/types";
-type Props = OrganizationListProps
+import type { OrganizationListProps } from '@clerk/types';
+type Props = OrganizationListProps;
-import InternalUIComponentRenderer from './InternalUIComponentRenderer.astro'
+import InternalUIComponentRenderer from './InternalUIComponentRenderer.astro';
---
-
+
diff --git a/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfile.astro b/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfile.astro
index 759c9584ca9..6f326185431 100644
--- a/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfile.astro
+++ b/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfile.astro
@@ -1,10 +1,13 @@
---
-import type { OrganizationProfileProps, Without } from '@clerk/types'
+import type { OrganizationProfileProps, Without } from '@clerk/types';
-type Props = Without
+type Props = Without;
-import InternalUIComponentRenderer from '../InternalUIComponentRenderer.astro'
+import InternalUIComponentRenderer from '../InternalUIComponentRenderer.astro';
---
-
+
diff --git a/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfileLink.astro b/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfileLink.astro
index 3f1280adcff..2e9a526659d 100644
--- a/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfileLink.astro
+++ b/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfileLink.astro
@@ -1,14 +1,22 @@
---
-import CustomProfilePageRenderer from '../CustomProfilePageRenderer.astro'
+import CustomProfilePageRenderer from '../CustomProfilePageRenderer.astro';
interface Props {
- url: string
- label: string
+ url: string;
+ label: string;
}
-const { url, label } = Astro.props
+const { url, label } = Astro.props;
---
-
-
+
+
diff --git a/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfilePage.astro b/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfilePage.astro
index 8b919a6aa35..46375df4686 100644
--- a/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfilePage.astro
+++ b/packages/astro/src/astro-components/interactive/OrganizationProfile/OrganizationProfilePage.astro
@@ -1,24 +1,32 @@
---
-import CustomProfilePageRenderer from '../CustomProfilePageRenderer.astro'
+import CustomProfilePageRenderer from '../CustomProfilePageRenderer.astro';
const reorderItemsLabels = ['general', 'members'] as const;
-type ReorderItemsLabels = typeof reorderItemsLabels[number];
+type ReorderItemsLabels = (typeof reorderItemsLabels)[number];
type Props