fix: don't call setToggle on every render

4 jobs for visual_abstract in 18 minutes and 13 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #60882
build

00:07:13

 
  Test
passed #60883
lint

00:01:29

failed #60884
test-chrome

00:04:34

passed #60885
allowed to fail
test-firefox

00:04:56

 
Name Stage Failure
failed
test-chrome Test
  timedOut: false,
isCanceled: false,
killed: false
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Pulling docker image gitlab/gitlab-runner-helper:x86_64-a987417a ...
Using docker image sha256:2ecc4cc715e33d4c56dab2915d9ce5729e81ebad789a971a01ef113b52f01aa9 for gitlab/gitlab-runner-helper:x86_64-a987417a ...
ERROR: Job failed: exit code 1