Remove additional space (it is moved outside the element)

This commit is contained in:
Niklas Birk 2022-09-17 15:52:04 +02:00
parent 00e2ba70c2
commit 38467a8bc2

View File

@ -1,10 +1,9 @@
import {Image, Spacer, Text} from "@nextui-org/react"; import {Image, Text} from "@nextui-org/react";
import logo from "../assets/niklas-birk-logo.png"; import logo from "../assets/niklas-birk-logo.png";
function Header() { function Header() {
return ( return (
<> <>
<Spacer y={3} />
<Image <Image
src={logo} src={logo}
width={200} width={200}
@ -20,7 +19,6 @@ function Header() {
weight="bold"> weight="bold">
Niklas Birk Niklas Birk
</Text> </Text>
<Spacer y={2} />
</> </>
); );
} }