 ffebe8e901
			
		
	
	
		ffebe8e901
		
			
		
	
	
	
	
		
			
			* Initial changes * OAuth done and credentials stored * Added "other" integrations * Switching to hubspot api client * Event creation for all attendees * Update and delete done * Doc update * Fixing types * App label is not mandatory * Fixing bad merge: App label deleted * Fixing bad automerge * Removing c.log Co-authored-by: Omar López <zomars@me.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			438 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			438 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import type { InstallAppButtonProps } from "@calcom/app-store/types";
 | |
| 
 | |
| import useAddAppMutation from "../../_utils/useAddAppMutation";
 | |
| 
 | |
| export default function InstallAppButton(props: InstallAppButtonProps) {
 | |
|   const mutation = useAddAppMutation("hubspot_other_calendar");
 | |
| 
 | |
|   return (
 | |
|     <>
 | |
|       {props.render({
 | |
|         onClick() {
 | |
|           mutation.mutate("");
 | |
|         },
 | |
|         loading: mutation.isLoading,
 | |
|       })}
 | |
|     </>
 | |
|   );
 | |
| }
 |