Fix for a bug when updating an event type
- Due to the lack of router object, after clicking "Update" on the Event Type - a response would be printed to the console, but without being routed back to the availability page.pull/57/head
parent
64d3fcfab2
commit
c9b334462b
|
@ -38,7 +38,7 @@ export default function EventType(props) {
|
|||
}
|
||||
});
|
||||
|
||||
console.log(response);
|
||||
router.push('/availability');
|
||||
}
|
||||
|
||||
async function deleteEventTypeHandler(event) {
|
||||
|
|
Loading…
Reference in New Issue