t)
          flag = true
          break
        default:
          break
      }

      if (flag) {
        event.stopPropagation()
        event.preventDefault()
      }
    }

    function onClick(event) {
      setSelectedTab(event.currentTarget)
    }
  </script>
</body>
</html>
