fix broken static header from carousel

This commit is contained in:
k00b 2024-12-09 19:03:30 -06:00
parent 61fb1c445f
commit 52098a3e50
1 changed files with 14 additions and 11 deletions

View File

@ -1,9 +1,11 @@
import { Container, Nav, Navbar } from 'react-bootstrap' import { Container, Nav, Navbar } from 'react-bootstrap'
import styles from '../header.module.css' import styles from '../header.module.css'
import { BackOrBrand, NavPrice, SearchItem } from './common' import { BackOrBrand, NavPrice, SearchItem } from './common'
import { CarouselProvider } from './carousel'
export default function StaticHeader () { export default function StaticHeader () {
return ( return (
<CarouselProvider>
<Container as='header' className='px-sm-0'> <Container as='header' className='px-sm-0'>
<Navbar> <Navbar>
<Nav <Nav
@ -15,5 +17,6 @@ export default function StaticHeader () {
</Nav> </Nav>
</Navbar> </Navbar>
</Container> </Container>
</CarouselProvider>
) )
} }