diff --git a/src/components/EpicView/EpicView.tsx b/src/components/EpicView/EpicView.tsx index e2bc7d82..b6651534 100644 --- a/src/components/EpicView/EpicView.tsx +++ b/src/components/EpicView/EpicView.tsx @@ -1,11 +1,11 @@ import {Group, Stack, Text, Title, ScrollArea, Box, Button, Center, Loader} from "@mantine/core"; import {useNavigate} from "react-router-dom"; -import {useCanvasStore} from "../../lib/Store"; import {useState} from "react"; +import {useQuery} from "@tanstack/react-query"; +import {useCanvasStore} from "../../lib/Store"; import {CreateIssueModal} from "../CreateIssue/CreateIssueModal"; import {Issue} from "../../../types"; import {EpicWrapper} from "./EpicWrapper"; -import {useQuery} from "@tanstack/react-query"; import {getEpics} from "./helpers/queryFetchers"; diff --git a/src/components/EpicView/EpicWrapper.tsx b/src/components/EpicView/EpicWrapper.tsx index 587e22d0..91bbda03 100644 --- a/src/components/EpicView/EpicWrapper.tsx +++ b/src/components/EpicView/EpicWrapper.tsx @@ -9,10 +9,9 @@ export function EpicWrapper({ epics: Issue[] }){ return ( - - {epics.map((epic: Issue, index) => ( - + + {epics.map((epic: Issue) => ( + ))} )