(tab: ClusterTab)
| 212 | }; |
| 213 | |
| 214 | const onTabClick = (tab: ClusterTab) => (event: React.MouseEvent) => { |
| 215 | if (activate(tab)) { |
| 216 | event.preventDefault(); |
| 217 | } |
| 218 | }; |
| 219 | |
| 220 | // iOS Safari turns a finger held on a link into a URL preview and cancels |
| 221 | // the pointer, so the bar owns its touches: nothing native starts from |
no test coverage detected