Moved From IN to IL. How to properly file state taxes.

I was a student in Indiana prior to moving to Illinois and starting a job midway through the year. I did not work while in Indiana, however, I did receive a signing bonus and first week of pay prior to becoming an Illinois resident. As a result, my W2 has Illinois taxing me on 100% of my income and Indiana taxing me on 20% of my income.

 

I'm filing part-year resident returns for both states, however, I'm not sure how to properly enter the information so that I'm not double-taxed on 20% of my income. Hoping someone can advise on how I need to handle this situation. Thanks in advance!