Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style: remove debug console logs and add loading state (#10314)

Arvin Xu094cdff0977b
diff --git a/src/app/[variants]/loading.tsx b/src/app/[variants]/loading.tsx
new file mode 100644
index 00000000000..3ae0d871289
--- /dev/null
+++ b/src/app/[variants]/loading.tsx
@@ -0,0 +1,3 @@
+import Loading from '@/components/Loading/BrandTextLoading';
+
+export default () => <Loading />;
diff --git a/src/app/[variants]/page.tsx b/src/app/[variants]/page.tsx
index 1502a81ad63..1a00f3ec3ab 100644
--- a/src/app/[variants]/page.tsx
+++ b/src/app/[variants]/page.tsx
@@ -12,9 +12,7 @@ export default async (props: DynamicLayoutProps) => {
// Conditionally load and render based on device type
// Using native dynamic import ensures complete code splitting
// Mobile and Desktop bundles will be completely separate
-
- console.log('isMobile', isMobile);
- console.log('locale', locale);
+
if (isMobile) {
return <MobileRouter locale={locale} />;
}