H4 Transfer approved but spouse is pending

Can someone clarify if H1b transfer is approved to new employer B but H4 transfer from employer B is still pending. Can we switch the job or we should wait till the spouse H4 transfer is also approved?