I get the below output when I click the edit button
[Object: null prototype] { id: '1' }
Could you check by directly testing the route just like below
http://localhost:3000/editcontent?id=1