Fix build errors and TypeScript issues

- Install missing UI component dependencies
- Fix unused imports in React components
- Remove version numbers from all import statements
- Fix TypeScript errors in calendar and chart components
- Build now succeeds with production bundle generated
This commit is contained in:
Your Name
2025-10-24 18:52:34 -07:00
parent c097c7fe54
commit e69c6ae5be
37 changed files with 1237 additions and 55 deletions

View File

@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { useApp } from '../contexts/AppContext';
import { Sprint, UserStory } from '../types';
import { Sprint } from '../types';
import { Card } from './ui/card';
import { Badge } from './ui/badge';
import { Button } from './ui/button';
@@ -12,7 +12,7 @@ import { format } from 'date-fns';
import { Calendar, Plus, Edit, XCircle, PlayCircle } from 'lucide-react';
export const SprintManagement: React.FC = () => {
const { sprints, userStories, updateSprint, closeSprint, addSprint, setActiveSprint, updateUserStory } = useApp();
const { sprints, userStories, updateSprint, closeSprint, addSprint, setActiveSprint } = useApp();
const [editDialogOpen, setEditDialogOpen] = useState(false);
const [createDialogOpen, setCreateDialogOpen] = useState(false);
const [selectedSprint, setSelectedSprint] = useState<Sprint | null>(null);