Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-torabiv committed Jan 30, 2025
1 parent 33d23b9 commit 62b2961
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pages/centric/index.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import React from "react";
import { LoginButton } from "@telegram-auth/react";

import { conf } from "@/configs";

import TcBoxContainer from "../../components/shared/TcBox/TcBoxContainer";
import TcButton from "../../components/shared/TcButton";
import TcText from "../../components/shared/TcText";
import centricLayout from "../../layouts/centricLayout";
import useAppStore from "../../store/useStore";

function Index() {
console.log(conf.TELEGRAM_BOT_USERNAME);

const { discordAuthorization } = useAppStore();

return (
<div>
<TcBoxContainer
Expand All @@ -33,8 +34,8 @@ function Index() {
/>
<div className="flex justify-center text-center">
<LoginButton
botUsername="Togethercrew_Staging_Bot"
authCallbackUrl="https://api.togethercrew.de/api/v1/auth/telegram/authorize/callback"
botUsername={conf.TELEGRAM_BOT_USERNAME as string}
authCallbackUrl={`${conf.API_BASE_URL}/auth/telegram/authorize/callback`}
buttonSize="large"
requestAccess="write"
cornerRadius={5}
Expand Down

0 comments on commit 62b2961

Please sign in to comment.