Skip to content

Commit 4e5a9d4

Browse files
committed
fix: update variable naming for telegram chat ID in GrantAccessModal and SendMessage components
1 parent 23ded0f commit 4e5a9d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modules/myData/protectedData/GrantAccessModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default function GrantAccessModal({
5454
if (schema.email) {
5555
return 'mail';
5656
}
57-
if (schema.telegramChatId || schema.chatId) {
57+
if (schema.telegram_chatId || schema.chatId) {
5858
return 'telegram';
5959
}
6060
return 'other';

src/views/contact/sendMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function SendMessage() {
5555
if (schema.email) {
5656
return 'mail';
5757
}
58-
if (schema.telegramChatId || schema.chatId) {
58+
if (schema.telegram_chatId || schema.chatId) {
5959
return 'telegram';
6060
}
6161
return 'other';

0 commit comments

Comments
 (0)