()
| 23 | const [isLoading, setIsLoading] = useState(false); |
| 24 | |
| 25 | const handleClick = async () => { |
| 26 | setIsLoading(true); |
| 27 | try { |
| 28 | await onClick(); |
| 29 | } finally { |
| 30 | setIsLoading(false); |
| 31 | } |
| 32 | }; |
| 33 | |
| 34 | return ( |
| 35 | <LoadingButton |
nothing calls this directly
no outgoing calls
no test coverage detected