Fix cancel link on booking page
parent
ea31607598
commit
27eb9ad95e
|
@ -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 New Issue