fix return types
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m25s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m25s
This commit is contained in:
@ -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">
|
||||
|
Reference in New Issue
Block a user