From 5013be11eed3a34433671f1f22bf8eba96ed8078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20R=C3=BCsch?= Date: Wed, 6 Dec 2023 11:50:27 +0100 Subject: [PATCH] Fix linting issues again --- src/components/EpicView/EpicView.tsx | 4 ++-- src/components/EpicView/EpicWrapper.tsx | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) 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) => ( + ))} )