Skip to content

Commit

Permalink
Merge pull request #29 from openauburn/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
matt-rog committed Mar 28, 2023
2 parents afbb6bd + 590777a commit 5496012
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion site/components/appshell/NavHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
14 changes: 6 additions & 8 deletions site/components/fetchIcon.tsx
Original file line number Diff line number Diff line change
@@ -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 <IconComponent {...props}/>
}
export default function FetchIcon(props: any) {
let name = props.name === undefined ? "IconDatabase" : props.name;
const IconComponent: any = Icons[name];
return <IconComponent {...props} />;
}

0 comments on commit 5496012

Please sign in to comment.