|
|
@ -40,8 +40,6 @@ const Connection = () => { |
|
|
|
useEffect(() => { |
|
|
|
useEffect(() => { |
|
|
|
fetch(`/api/connections/${params.connId}/${params.serviceId}`).then(x => x.json()).then(x => setService(x) ) |
|
|
|
fetch(`/api/connections/${params.connId}/${params.serviceId}`).then(x => x.json()).then(x => setService(x) ) |
|
|
|
}, []) |
|
|
|
}, []) |
|
|
|
console.log('connection', connection) |
|
|
|
|
|
|
|
console.log('service', service) |
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<h1 className="t-page-header">Verbinding</h1> |
|
|
|
<h1 className="t-page-header">Verbinding</h1> |
|
|
|