master
alex 2024-01-13 23:37:24 +01:00
parent 8d6f6711a7
commit da34c2abd5
1 changed files with 2 additions and 6 deletions

View File

@ -1,5 +1,6 @@
import { Button } from "antd";
import { useTranslation } from "react-i18next";
import { Constants } from "../../../utils";
export default function StoreCalendar() {
const { t } = useTranslation();
@ -8,12 +9,7 @@ export default function StoreCalendar() {
<>
<h1>{t("calendar.pageTitle")}</h1>
<Button
onClick={() => {
document.cookie = `token=6d86ae13-05cb-4d3d-a9c2-112783d133b9; domain=calendar.ex.umbach.dev; max-age=3600`;
// window.location.href = `${Constants.API_ADDRESS}/calendar/auth/google`;
}}
>
<Button href={`${Constants.API_ADDRESS}/calendar/auth/google`}>
LOGIN with GOOGLE
</Button>
</>