url
parent
8d6f6711a7
commit
da34c2abd5
|
@ -1,5 +1,6 @@
|
||||||
import { Button } from "antd";
|
import { Button } from "antd";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
import { Constants } from "../../../utils";
|
||||||
|
|
||||||
export default function StoreCalendar() {
|
export default function StoreCalendar() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
@ -8,12 +9,7 @@ export default function StoreCalendar() {
|
||||||
<>
|
<>
|
||||||
<h1>{t("calendar.pageTitle")}</h1>
|
<h1>{t("calendar.pageTitle")}</h1>
|
||||||
|
|
||||||
<Button
|
<Button href={`${Constants.API_ADDRESS}/calendar/auth/google`}>
|
||||||
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`;
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
LOGIN with GOOGLE
|
LOGIN with GOOGLE
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in New Issue