Fix warning in spec
Fix warning in spec

This avoids a warning about useLayoutEffect, although I'm not sure exactly why.

WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard