Skip to content

Commit

Permalink
Update Booknow.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprasath2004 authored Mar 11, 2024
1 parent 58041b6 commit b47c6cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Booknow.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ if(detail.Bookdate){
dishNames.map((item,index)=>(
<div style={{display:'flex',flexDirection:'row',width:'100%'}}
key={`parentOfFood_Receipe${index}`}>
<div key={`parent_DISh${index}`} style={{gap:15,width:'60%',display:'flex',justifyContent:'flex-start'}}><p key={`dishNames_Sno_${index}`}>{index+1}</p>
<div key={`parent_DISh${index}`} style={{gap:15,width:'70%',display:'flex',justifyContent:'flex-start'}}><p key={`dishNames_Sno_${index}`}>{index+1}</p>
<p key={`dishNames_name_${index}`}>{item.name}</p></div>
<div key={`item_prize_and_cancel_${index}`} style={{display:'flex',width:'40%',justifyContent:'space-evenly',flexDirection:'row',alignItems:'center'}}>
<div key={`item_prize_and_cancel_${index}`} style={{display:'flex',width:'30%',justifyContent:'space-evenly',flexDirection:'row',alignItems:'center'}}>
<p key={`prize_s_${index}`}>{`₹${item.prize}`}</p>
<img src='https://cdn-icons-png.flaticon.com/128/2732/2732657.png' alt='close' style={{height:20,width:20}} key={`close${index}`} onClick={()=>setDishName(dishNames.filter(ele=>ele.name!==item.name))} />
</div></div>
Expand Down

0 comments on commit b47c6cc

Please sign in to comment.