Do I need to remove my home state business income from a state where I was non-resident?

I am filing for NJ as a resident, and NY as a non-resident. Turbo tax automatically added my NJ business income to NY. Should I remove it from new york state allocation?