Remove unused game (#4226)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2025-08-21 18:29:06 -04:00
committed by GitHub
parent 953e94a34d
commit aaf3db8052
2 changed files with 0 additions and 327 deletions
-7
View File
@@ -19,9 +19,6 @@
* the Hub creates a brand new chat session in the Pair view.
*/
import { useState } from 'react';
import FlappyGoose from './FlappyGoose';
import { SessionInsights } from './sessions/SessionsInsights';
import ChatInput from './ChatInput';
import { generateSessionId } from '../sessions';
@@ -47,8 +44,6 @@ export default function Hub({
setView: (view: View, viewOptions?: ViewOptions) => void;
setIsGoosehintsModalOpen: (isOpen: boolean) => void;
}) {
const [showGame, setShowGame] = useState(false);
// Handle chat input submission - create new chat and navigate to pair
const handleSubmit = (e: React.FormEvent) => {
const customEvent = e as unknown as CustomEvent;
@@ -106,8 +101,6 @@ export default function Hub({
sessionCosts={undefined}
setIsGoosehintsModalOpen={setIsGoosehintsModalOpen}
/>
{showGame && <FlappyGoose onClose={() => setShowGame(false)} />}
</div>
</ChatContextManagerProvider>
);