Deductions & credits

I entered union dues where you said in Federal, and it transferred to NY State, but it also left them on my Federal return where union dues are no longer allowed for W-2 Income. How do I add them to State but not Federal?