Files
zep/src/App.tsx
T
2026-03-30 17:41:54 -04:00

23 lines
886 B
TypeScript

import React from "react";
import "./App.css";
// Remove all imports related to SpacetimeDB, auth, and chat logic that are now in ChatContainer or other modules
// import { tables, reducers } from './module_bindings';
// import type * as Types from './module_bindings/types';
// import { useSpacetimeDB, useTable, useReducer } from 'spacetimedb/react';
// import { Identity } from 'spacetimedb';
// import { useAuth } from "react-oidc-context";
// import { TOKEN_KEY } from './main';
// Import the new ChatContainer component
import { ChatContainer } from "./chat"; // Import from index.ts
function App() {
// All the state, effects, reducers, table fetches, and UI rendering logic
// related to chat and authentication have been moved to ChatContainer and its sub-components.
// App.tsx now simply renders the ChatContainer.
return <ChatContainer />;
}
export default App;