refactor(app): move route screens out of components
Exclude test and spec files from generated barrels so page imports do not load test modules at runtime.
This commit is contained in:
@@ -30,15 +30,17 @@ import type { LoginStatus } from "@/models/auth/login-status";
|
||||
import { AuthStorage } from "@/data/storage/auth/auth_storage";
|
||||
import { useChatDispatch, useChatState } from "@/stores/chat/chat-context";
|
||||
|
||||
import { MobileShell } from "@/app/_components/core/mobile-shell";
|
||||
import { MobileShell } from "@/app/_components/core";
|
||||
|
||||
import { BrowserHintOverlay } from "./browser-hint-overlay";
|
||||
import { ChatArea } from "./chat-area";
|
||||
import { ChatHeader } from "./chat-header";
|
||||
import { ChatInputBar } from "./chat-input-bar";
|
||||
import { ChatQuotaExhaustedBanner } from "./chat-quota-exhausted-banner";
|
||||
import { PwaInstallOverlay } from "./pwa-install-overlay";
|
||||
import styles from "./chat-screen.module.css";
|
||||
import {
|
||||
BrowserHintOverlay,
|
||||
ChatArea,
|
||||
ChatHeader,
|
||||
ChatInputBar,
|
||||
ChatQuotaExhaustedBanner,
|
||||
PwaInstallOverlay,
|
||||
} from "./components";
|
||||
import styles from "./components/chat-screen.module.css";
|
||||
|
||||
|
||||
/**
|
||||
@@ -9,7 +9,6 @@ export * from "./chat-header";
|
||||
export * from "./chat-input-bar";
|
||||
export * from "./chat-input-text-field";
|
||||
export * from "./chat-quota-exhausted-banner";
|
||||
export * from "./chat-screen";
|
||||
export * from "./chat-send-button";
|
||||
export * from "./date-header";
|
||||
export * from "./fullscreen-image-viewer";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { ChatScreen } from "@/app/chat/components/chat-screen";
|
||||
import { ChatScreen } from "@/app/chat/chat-screen";
|
||||
|
||||
export default function ChatPage() {
|
||||
return <ChatScreen />;
|
||||
|
||||
Reference in New Issue
Block a user