Inline CRUD operation on Ant Design Table

I am using ant design Table, where I want to add a new row like an inline form when a button is clicked and able to do CRUD operation on this table

When I click the button 1st time it adds a new row in the table with all fields empty but when I click the button again the previously selected data remains,

If you don’t understand the problem please watch this YT video: * https://youtu.be/S7-99HqpWvo * here Material UI is used but I want to achieve the same functionality using Ant Design

Please help me with this, Below I have given the codepen link
codepen link:

 [codepen]: https://codepen.io/sandipdeb05/pen/WNdRmxd