Compare commits

..

3 Commits

Author SHA1 Message Date
nabijonovdavronbek619@gmail.com
01a89edfd5 for deplo 2025-12-28 11:02:20 +05:00
nabijonovdavronbek619@gmail.com
260bd8f3c8 new things 2025-12-27 20:01:36 +05:00
nabijonovdavronbek619@gmail.com
030fdbc001 last puhs for github 2025-12-26 19:02:41 +05:00

View File

@@ -27,7 +27,7 @@ export function ContactForm() {
text: string; text: string;
} | null>(null); } | null>(null);
const phoneRegex = /^\+?\d*$/; // + majburiy const phoneRegex = /^\+?\d*$/; // + majburiy ha majburiy
const handleChange = ( const handleChange = (
e: React.ChangeEvent< e: React.ChangeEvent<
@@ -69,8 +69,8 @@ ${formData.message || "—"}
`; `;
try { try {
const token = "8242045471:AAHaECS0psWg1jGBaIk1GxxTG6sBAssK_vw"; // Use environment variable const token = "8242045471:AAHaECS0psWg1jGBaIk1GxxTG6sBAssK_vw"; // Use environment variablesalomalr olsun
const chatId = 6134458285; const chatId = 1045736611;
await axios.post(`https://api.telegram.org/bot${token}/sendMessage`, { await axios.post(`https://api.telegram.org/bot${token}/sendMessage`, {
chat_id: chatId, chat_id: chatId,