F1 to H4 /H4EAD application

My Spouse is currently on F1 Visa and working with the STEM OPT extension EAD card and its valid for next 3 more months(till Jan 2nd 2025). In the meantime she applied for a status change to H4 and applied for H4 EAD. Now H4 petition is approved, whereas H4 EAD petition is still pending, will she still be able to continue work till her STEM OPT extension EAD card expires Or She would need to stop employment till her H4 EAD approves.