Skip to content

Commit

Permalink
Simplify the Header component
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosiorowska committed Dec 11, 2023
1 parent bf90b88 commit 21dc2ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dapp/src/components/Header/index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from "react"
import { Box, Flex, Icon } from "@chakra-ui/react"
import { Flex, HStack, Icon } from "@chakra-ui/react"
import ConnectWallet from "./ConnectWallet"
import { AcreLogo } from "../../static/icons"

export default function Header() {
return (
<Box as="header">
<Icon as={AcreLogo} boxSize={20} position="absolute" left={6} />
<Flex justifyContent="end" p={6}>
<HStack as="header" p={6}>
<Icon as={AcreLogo} boxSize={20} />
<Flex ml="auto">
<ConnectWallet />
</Flex>
</Box>
</HStack>
)
}

0 comments on commit 21dc2ff

Please sign in to comment.