Skip to content

Commit

Permalink
add logoUrl to header props
Browse files Browse the repository at this point in the history
  • Loading branch information
labradford committed May 13, 2024
1 parent 624ccd5 commit 58adf9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compounds/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import Logo from '../Logo/Logo'
import './styles.scss'

const Header = ({ auth, linkColor, logo, navLinks, userSession }) => {
const { src, alt } = logo
const { src, alt, logoUrl } = logo

return (
<Navbar bg='primary' expand='md'>
<Container>
<Navbar.Brand className='w-50 custom-navbar-brand'>
<Logo src={src} alt={alt} height='auto' addClass='mw-100 mh-100' />
<Logo src={src} alt={alt} logoUrl={logoUrl} height='auto' addClass='mw-100 mh-100' />
</Navbar.Brand>
<Navbar.Toggle aria-controls='basic-navbar-nav'>
<ToggleIcon linkColor={linkColor} />
Expand Down

0 comments on commit 58adf9f

Please sign in to comment.