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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user