()
| 56 | }); |
| 57 | |
| 58 | const handleClick = () => { |
| 59 | if (!isAuthenticated) { |
| 60 | setIsSignInModalOpen(true); |
| 61 | return; |
| 62 | } |
| 63 | |
| 64 | prevRef.current = { starred, count }; |
| 65 | setStarred(!starred); |
| 66 | setCount(starred ? count - 1 : count + 1); |
| 67 | execute({ pluginId, slug }); |
| 68 | }; |
| 69 | |
| 70 | if (!loaded) { |
| 71 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected