mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-23 19:46:28 -05:00
Rename
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
type ScannerTab,
|
||||
scannerSearchParams,
|
||||
} from "../scanner-search-params";
|
||||
import styles from "./App.module.css";
|
||||
import styles from "./ScannerApp.module.css";
|
||||
import { LivePage } from "./LivePage";
|
||||
import { ScreenshotPage } from "./ScreenshotPage";
|
||||
import type { SendouUser } from "./sendou-ingest";
|
||||
@@ -21,7 +21,7 @@ const TAB_LABELS: Record<ScannerTab, string> = {
|
||||
vod: "VoD",
|
||||
};
|
||||
|
||||
export function App() {
|
||||
export function ScannerApp() {
|
||||
const [tab] = useSearchParam(scannerSearchParams, "tab");
|
||||
const rootUser = useUser();
|
||||
const sendouUser: SendouUser | null = rootUser
|
||||
@@ -29,7 +29,9 @@ export const meta: MetaFunction = (args) => {
|
||||
// may be imported at route-module top level — only from inside this lazily
|
||||
// imported client component tree, after hydration.
|
||||
const ScannerApp = lazy(() =>
|
||||
import("~/features/scanner/components/App").then((m) => ({ default: m.App })),
|
||||
import("~/features/scanner/components/ScannerApp").then((m) => ({
|
||||
default: m.ScannerApp,
|
||||
})),
|
||||
);
|
||||
|
||||
export default function ScannerPage() {
|
||||
|
||||
Reference in New Issue
Block a user