Middle Column: Fix bot description layout with zero animations level (#2069)
This commit is contained in:
parent
22a59651fb
commit
5facc6f908
@ -331,7 +331,12 @@ const Main: FC<StateProps> = ({
|
||||
|
||||
// Handle opening right column
|
||||
useOnChange(([prevIsRightColumnOpen]) => {
|
||||
if (prevIsRightColumnOpen === undefined || animationLevel === 0) {
|
||||
if (prevIsRightColumnOpen === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (animationLevel === 0) {
|
||||
setIsNarrowMessageList(isRightColumnOpen);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user