From 9894ba735e74fb9404d96f486a2f6aa14e262a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20M=C3=B3r=C3=A1sz?= Date: Sat, 23 Dec 2023 21:45:51 +0100 Subject: [PATCH] fix fe linter (#31) * fix fe linter * fix App.tsx --- Kemkas.Web/frontend/src/App.tsx | 2 +- .../frontend/src/first-edition/pages/CharacterList.tsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Kemkas.Web/frontend/src/App.tsx b/Kemkas.Web/frontend/src/App.tsx index 150411b..f29caa8 100644 --- a/Kemkas.Web/frontend/src/App.tsx +++ b/Kemkas.Web/frontend/src/App.tsx @@ -17,7 +17,7 @@ function App(props: {faro?: Faro}) { }, { path: "/karaktereim", - element: , + element: , loader: () => fetch(`api/Character`), ErrorBoundary: ErrorBoundary, }, diff --git a/Kemkas.Web/frontend/src/first-edition/pages/CharacterList.tsx b/Kemkas.Web/frontend/src/first-edition/pages/CharacterList.tsx index 2f3caec..6f627e4 100644 --- a/Kemkas.Web/frontend/src/first-edition/pages/CharacterList.tsx +++ b/Kemkas.Web/frontend/src/first-edition/pages/CharacterList.tsx @@ -1,10 +1,8 @@ import * as React from "react"; import {useLoaderData} from "react-router-dom"; import CharacterListItem, {CharacterListItemDto} from "../components/CharacterListItem"; -import {Faro} from "@grafana/faro-web-sdk"; -function CharacterList(props: {faro?: Faro}) { - const {faro} = props +function CharacterList(props: {}) { const characters = useLoaderData() as CharacterListItemDto[]; return
@@ -34,4 +32,4 @@ function CharacterList(props: {faro?: Faro}) {
} -export default CharacterList; \ No newline at end of file +export default CharacterList;