Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

⚡️ Prefetch billing tier

Luke Vellad0e09ae78034
diff --git a/apps/web/src/app/[locale]/(space)/(dashboard)/layout.tsx b/apps/web/src/app/[locale]/(space)/(dashboard)/layout.tsx
index 1f8f12a4f..77206e69b 100644
--- a/apps/web/src/app/[locale]/(space)/(dashboard)/layout.tsx
+++ b/apps/web/src/app/[locale]/(space)/(dashboard)/layout.tsx
@@ -35,6 +35,7 @@ export default async function Layout({
const helpers = await createPrivateSSRHelper();
await Promise.all([
+ helpers.billing.getTier.prefetch(),
helpers.user.getAuthed.prefetch(),
helpers.spaces.list.prefetch(),
]);