Live in NJ work in NY, W2 shows income for both NJ & NY but on box 17 shows only one state income tax which is aligned to NY state wage. How does that impact the ITR?

Which section/step in NJ return do we remove the income?