
* Remove global app installed button * Add Jitsi add button * Find app credentials based on variant * Make huddle installable * Remove default installed message from installed apps page * Display Jitsi and Huddle as locations if installed * Reverse global app changes and made Jitsi and Huddle non global * Changes to app page refrence #2556 * Fix type errors * Revert code Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
18 lines
427 B
TypeScript
18 lines
427 B
TypeScript
import type { InstallAppButtonProps } from "@calcom/app-store/types";
|
|
|
|
import useAddAppMutation from "../../_utils/useAddAppMutation";
|
|
|
|
export default function InstallAppButton(props: InstallAppButtonProps) {
|
|
const mutation = useAddAppMutation("jitsi_video");
|
|
|
|
return (
|
|
<>
|
|
{props.render({
|
|
onClick() {
|
|
mutation.mutate("");
|
|
},
|
|
loading: mutation.isLoading,
|
|
})}
|
|
</>
|
|
);
|
|
}
|