H1B end date is close, H4Ead applied but not approved

Hi All,

My H1B end date is in May, 2022 and I have applied EAD for my Spouse in july, 2021 and its still pending.

My question is:
Will EAD be impacted if it doesn’t get approved till end of the H4 I94 date. Or I have to reapply for EAD once my extension is done.

H1B and H4 extension is applied and pending.

Please let me know. Thanks in advance.