mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
Bot Command Menu: Fix auto-appearing every 15 seconds (#1643)
This commit is contained in:
parent
73eade5289
commit
ace2d3be35
@ -39,7 +39,7 @@ const BotKeyboardMenu: FC<OwnProps & StateProps> = ({
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
markForceOpen();
|
markForceOpen();
|
||||||
}, [markForceOpen, message]);
|
}, [markForceOpen, message?.keyboardButtons]);
|
||||||
|
|
||||||
if (!message || !message.keyboardButtons) {
|
if (!message || !message.keyboardButtons) {
|
||||||
return undefined;
|
return undefined;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user