State tax filing

Yes, I was physically working in that state for sometimes, so I just prepared a nonresident state tax return for the $3k that I earned in 2022 for that state.   However, this $3k is still showing up on my resident state tax return.  it looks like I am being double tax for that $3k.  Is there a way to separate/remove the nonresident state income from the resident state income under turbotax?  (version: home and business )