fix return types
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m25s

This commit is contained in:
Lee
2024-04-18 03:51:41 +01:00
parent 3c9709df12
commit ac1d9b4f82
20 changed files with 41 additions and 91 deletions

View File

@ -1,4 +1,5 @@
import Link from "next/link";
import { ReactElement } from "react";
import Logo from "./logo";
import { RedirectButton } from "./rediect-button";
import { ToggleThemeButton } from "./theme-toggle-button";
@ -16,7 +17,7 @@ const pages: Page[] = [
{ title: "API", url: "https://api.mcutils.xyz", openInNewTab: true },
];
export default function NavBar(): JSX.Element {
export default function NavBar(): ReactElement {
return (
<div className="bg-secondary w-full rounded-lg flex items-center gap-3 mt-2 bg-opacity-85 h-12">
<Link href="/" className="flex items-center gap-2 pl-3 pr-1">