From 4f0e93c96692472d9365ef8adb17e6b0f1bf6c73 Mon Sep 17 00:00:00 2001 From: Matthew Rogers Date: Tue, 28 Mar 2023 02:44:34 -0500 Subject: [PATCH 1/2] Update NavHeader.tsx --- site/components/appshell/NavHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/components/appshell/NavHeader.tsx b/site/components/appshell/NavHeader.tsx index 2012c59d..35be3484 100644 --- a/site/components/appshell/NavHeader.tsx +++ b/site/components/appshell/NavHeader.tsx @@ -28,7 +28,7 @@ import OpenAuburnLogo from "../branding/OpenAuburnLogo"; import { base } from "@/utils/api"; import { Metadata } from "@/utils/types"; import { useEffect, useState } from "react"; -import FetchIcon from "@/components/FetchIcon"; +import FetchIcon from "../FetchIcon"; import { IconBrandInstagram } from "@tabler/icons"; import { IconBrandTwitter } from "@tabler/icons"; import { IconBrandDiscord } from "@tabler/icons"; From 590777aa84daeb57b62bac8b0b2b6518ed404e89 Mon Sep 17 00:00:00 2001 From: Matthew Rogers Date: Tue, 28 Mar 2023 02:44:36 -0500 Subject: [PATCH 2/2] Update fetchIcon.tsx --- site/components/fetchIcon.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/site/components/fetchIcon.tsx b/site/components/fetchIcon.tsx index 82bf25b0..b9d8b5ca 100644 --- a/site/components/fetchIcon.tsx +++ b/site/components/fetchIcon.tsx @@ -1,9 +1,7 @@ +import * as Icons from "@tabler/icons"; -import { filterProps } from '@mantine/core'; -import * as Icons from '@tabler/icons'; - -export default function FetchIcon( props: any) { - let name = props.name === undefined ? "IconDatabase" : props.name - const IconComponent:any = Icons[name]; - return -} \ No newline at end of file +export default function FetchIcon(props: any) { + let name = props.name === undefined ? "IconDatabase" : props.name; + const IconComponent: any = Icons[name]; + return ; +}