Skip to content

Commit 9796705

Browse files
committed
fix build errors
1 parent 551800f commit 9796705

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function AppContent() {
5353
const [cats, setCats] = useState<string[]>([]);
5454

5555
// Use actual count for cats, not rendered count - allow up to 1000 cats
56-
const expectedCatCount = Math.min(Math.floor(actualTerminalCount / 5), 1000);
56+
// const expectedCatCount = Math.min(Math.floor(actualTerminalCount / 5), 1000);
5757

5858
const handleTerminalCountChange = (count: number) => {
5959
// Update the actual terminal count (can go to 10,000+)

src/components/BouncyCat/BouncyCat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface Velocity {
1616
y: number;
1717
}
1818

19-
export function BouncyCat({ id, onRemove, totalCatCount = 1 }: BouncyCatProps) {
19+
export function BouncyCat({ totalCatCount = 1 }: BouncyCatProps) {
2020
const [position, setPosition] = useState<Position>(() => ({
2121
x: Math.random() * (window.innerWidth - 100),
2222
y: Math.random() * (window.innerHeight - 100),

src/components/TerminalWindow/TerminalWindow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useState, useEffect, useRef, useMemo } from 'react';
1+
import { useState, useEffect, useRef } from 'react';
22
import Draggable from 'react-draggable';
33
import { ResizableBox } from 'react-resizable';
44
import './TerminalWindow.css';

0 commit comments

Comments
 (0)