From 2b2e8a603d3cb61ad33d905be5863bbdd8508da3 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Mon, 22 May 2023 22:12:19 +0200 Subject: [PATCH] Added fontawesome in the App.jsx --- client/src/App.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/App.jsx b/client/src/App.jsx index 159bd8ab..433c74b1 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -16,6 +16,11 @@ import {t} from "i18next"; import {ToastNotificationProvider} from "@/common/contexts/ToastNotification"; import Nodes from "@/pages/Nodes"; import {NodeProvider} from "@/common/contexts/Node"; +import { library } from '@fortawesome/fontawesome-svg-core'; +import { fas } from '@fortawesome/free-solid-svg-icons'; +import { fab } from "@fortawesome/free-brands-svg-icons"; + +library.add(fas, fab); const MainContent = () => { const [view] = useContext(ViewContext);