Fix cancel link on booking page
This commit is contained in:
		
							parent
							
								
									ea31607598
								
							
						
					
					
						commit
						27eb9ad95e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -74,7 +74,7 @@ export default function Book(props) { | ||||||
|                                 </div> |                                 </div> | ||||||
|                                 <div> |                                 <div> | ||||||
|                                     <button type="submit" className="btn btn-primary">Confirm</button> |                                     <button type="submit" className="btn btn-primary">Confirm</button> | ||||||
|                                     <Link href={"/" + props.user.username + "/" + props.eventType.id}> |                                     <Link href={"/" + props.user.username + "/" + props.eventType.slug}> | ||||||
|                                         <a className="ml-2 btn btn-white">Cancel</a> |                                         <a className="ml-2 btn btn-white">Cancel</a> | ||||||
|                                     </Link> |                                     </Link> | ||||||
|                                 </div> |                                 </div> | ||||||
|  | @ -108,6 +108,7 @@ export async function getServerSideProps(context) { | ||||||
|         select: { |         select: { | ||||||
|             id: true, |             id: true, | ||||||
|             title: true, |             title: true, | ||||||
|  |             slug: true, | ||||||
|             description: true, |             description: true, | ||||||
|             length: true |             length: true | ||||||
|         } |         } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Bailey Pumfleet
						Bailey Pumfleet