1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2025-01-21 11:41:56 +02:00

Add upload button to header

This commit is contained in:
Bart Huijgen 2024-11-18 21:30:17 +01:00 committed by Bart
parent 7d10379e78
commit 9c484483fd

View File

@ -1,5 +1,5 @@
import React, { useState } from "react";
import { Box, Heading, Flex, Text } from "@chakra-ui/react";
import { Box, Heading, Flex, Text, Button } from "@chakra-ui/react";
import Link from "next/link";
import { useRouter } from "next/router";
import { useAuth } from "../providers/auth";
@ -43,7 +43,6 @@ const Buttons: React.FC = () => {
<Button primary>Upload</Button>
</a>
</Link>
<MenuItem href="/register">Register</MenuItem>
<MenuItem href="/login">Login</MenuItem>
<MenuItem href="/about">About</MenuItem>