mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-27 12:55:11 +01:00
Transition: Fix disappearing content
This commit is contained in:
parent
c92f7a42df
commit
30f633d6cc
@ -87,7 +87,7 @@ const Transition: FC<OwnProps> = ({
|
||||
|
||||
useLayoutEffect(() => {
|
||||
function cleanup() {
|
||||
if (!shouldCleanup || cleanupExceptionKey === prevActiveKey) {
|
||||
if (!shouldCleanup || (cleanupExceptionKey !== undefined && cleanupExceptionKey === prevActiveKey)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user