Bonus Payments

I worked for a company from July 2020 - September 2021.

 

I lived and had residence in Florida July 2020 - April 2021.

I am still a resident of Florida but I recently relocated to CA.

The company is in Californa. 

 

If I am paid a bonus in September 2021 for the work I completed July 2020 - June 2021, how are my state taxes calculated?

Do I have to pay CA state taxes on the whole bonus or just the portion for when I was living in CA?

Florida doesn't have state income tax.