Skip to content

making a layout component for headers and footer #172

@ghost

Description

Describe the bug

hi! @Kanika637 😁
we could make the App.js more clean to see

Expected behaviour

Layout =({children})=>{
     <Header/>
         {children}
     <Footer/>
}
main=()=>{
  return <Layout >
  Cart component 
   </Layout>
}
main=()=>{
  return <Layout >
  Product component 
   </Layout>
}

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions