Merge pull request #24313 from overleaf/td-ac-bs5-frontend-tests

Update front-end tests to use Bootstrap 5

GitOrigin-RevId: abaa09f8c0639d64d6ade97468ab16204e5de97b
This commit is contained in:
Tim Down
2025-03-24 10:48:20 +00:00
committed by Copybot
parent b8d74c6ae0
commit c2da12939e
56 changed files with 358 additions and 264 deletions
@@ -25,6 +25,12 @@ function LoadingSpinner({
const [show, setShow] = useState(false)
useEffect(() => {
// Ensure that spinner is displayed immediately if delay is 0
if (delay === 0) {
setShow(true)
return
}
const timer = setTimeout(() => {
setShow(true)
}, delay)