H1B unemployment

I switched from company A to company B. I stopped my job at company A on May10th. Joined company B on May24th. Will there be problems later during my GC because of this?
I am on H1B visa now.

Is your concern the 14 day gap? If yes, this is a non-issue with GC.