do i need to amend my federal return as well as state
What? Do you mean you started to amend the tax return but changed your mind and do not want to amend?
I clicked on “amend” by mistake
https://ttlc.intuit.com/questions/2552802-how-do-i-cancel-or-undo-an-amended-return-in-turbotax-online