From 0425454e1aef06ba2fe9168cfbc5cbabfd83fd1b Mon Sep 17 00:00:00 2001
From: Birdup <34012548+birdup000@users.noreply.github.com>
Date: Wed, 25 Dec 2024 22:29:03 -0600
Subject: [PATCH] fix issues
---
app/components/DraggableTask.tsx | 2 +-
app/components/TaskPanel.tsx | 256 +------------------------------
2 files changed, 3 insertions(+), 255 deletions(-)
diff --git a/app/components/DraggableTask.tsx b/app/components/DraggableTask.tsx
index 549fa5a..05bd2b1 100644
--- a/app/components/DraggableTask.tsx
+++ b/app/components/DraggableTask.tsx
@@ -2,7 +2,7 @@
import { Draggable } from '@hello-pangea/dnd';
import { Task } from '../types/task';
-import TaskCard from './TaskCard';
+import { TaskCard } from './TaskCard';
interface DraggableTaskProps {
task: Task;
diff --git a/app/components/TaskPanel.tsx b/app/components/TaskPanel.tsx
index b837b78..682a4bb 100644
--- a/app/components/TaskPanel.tsx
+++ b/app/components/TaskPanel.tsx
@@ -4,24 +4,7 @@ import React, { useEffect, useState } from 'react';
import { DragDropContext, DropResult } from '@hello-pangea/dnd';
import ExportMenu from './ExportMenu';
import { TaskList as TaskListComponent } from './TaskList';
-import { ThemeProvider, useTheme, ThemeType } from '../hooks/useTheme';
-import { useTasks } from '../hooks/useTasks';
-import { useSearch } from '../hooks/useSearch';
-import SearchBar from './SearchBar';
-import { useKeyboardShortcuts } from '../hooks/useKeyboardShortcuts';
-import ThemeSelector from './ThemeSelector';
-import TaskForm from './TaskForm';
-import AIAssistantPanel from './AIAssistantPanel';
-import TaskAnalytics from './TaskAnalytics';
-import TaskAutomation from './TaskAutomation';
-import React, { useEffect, useState } from 'react';
-import { DragDropContext, DropResult } from '@hello-pangea/dnd';
-import ExportMenu from './ExportMenu';
-import React, { useEffect, useState } from 'react';
-import { DragDropContext, DropResult } from '@hello-pangea/dnd';
-import ExportMenu from './ExportMenu';
-import { TaskList as TaskListComponent } from './TaskList';
-import { ThemeProvider, useTheme, ThemeType } from '../hooks/useTheme';
+import { ThemeProvider, ThemeType } from '../hooks/useTheme';
import { useTasks } from '../hooks/useTasks';
import { useSearch } from '../hooks/useSearch';
import SearchBar from './SearchBar';
@@ -265,240 +248,5 @@ useEffect(() =>{
className="ml-4 mt-4"
/>)});
};
-
-export default TaskPanel;
- }
-
- return (Task Panel
To Do
In Progress
Done