mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* Bunch of fixes and minor changes throughout the app * remove logs * fix: e2e * fix: e2e * fix: more e2e and design * revert insights upgrade change
21 lines
493 B
TypeScript
21 lines
493 B
TypeScript
"use client";
|
|
|
|
import { WEBAPP_URL } from "@calcom/lib/constants";
|
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
|
import { Button } from "@calcom/ui/components/button";
|
|
|
|
export const TeamsCTA = () => {
|
|
const { t } = useLocale();
|
|
return (
|
|
<Button
|
|
data-testid="new-team-btn"
|
|
variant="fab"
|
|
StartIcon="plus"
|
|
size="sm"
|
|
type="button"
|
|
href={`${WEBAPP_URL}/settings/teams/new?returnTo=${WEBAPP_URL}/teams`}>
|
|
{t("new")}
|
|
</Button>
|
|
);
|
|
};
|