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> | ||||
|                                     <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> | ||||
|                                     </Link> | ||||
|                                 </div> | ||||
|  | @ -108,6 +108,7 @@ export async function getServerSideProps(context) { | |||
|         select: { | ||||
|             id: true, | ||||
|             title: true, | ||||
|             slug: true, | ||||
|             description: true, | ||||
|             length: true | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bailey Pumfleet
						Bailey Pumfleet