fix: bot username Chat_n8n_bot → Chat_8n8_bot (правильное имя)
This commit is contained in:
@@ -120,7 +120,7 @@ export default function Dashboard() {
|
||||
};
|
||||
|
||||
const shareReferralLink = async () => {
|
||||
const botUsername = process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_n8n_bot';
|
||||
const botUsername = process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_8n8_bot';
|
||||
const referralUrl = `https://t.me/${botUsername}?start=ref_${username}`;
|
||||
|
||||
const telegramWebApp = (window as any).Telegram?.WebApp;
|
||||
@@ -287,9 +287,9 @@ export default function Dashboard() {
|
||||
<ReferralModal
|
||||
isOpen={isReferralOpen}
|
||||
onClose={() => setIsReferralOpen(false)}
|
||||
referralUrl={`https://t.me/${process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_n8n_bot'}?start=ref_${username}`}
|
||||
referralUrl={`https://t.me/${process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_8n8_bot'}?start=ref_${username}`}
|
||||
onShare={shareReferralLink}
|
||||
onCopy={() => copyToClipboard(`https://t.me/${process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_n8n_bot'}?start=ref_${username}`)}
|
||||
onCopy={() => copyToClipboard(`https://t.me/${process.env.NEXT_PUBLIC_TELEGRAM_BOT_USERNAME || 'Chat_8n8_bot'}?start=ref_${username}`)}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user