From b4750f44859e64039c945c2a1e49bd37ae1a6329 Mon Sep 17 00:00:00 2001 From: zsviczian Date: Sat, 27 Aug 2022 16:13:36 +0200 Subject: [PATCH] Update App.tsx --- src/components/App.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/App.tsx b/src/components/App.tsx index f949169367..97558f4c5b 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -6167,6 +6167,9 @@ class App extends React.Component { } if (width === 0 || height === 0) { + if (cb) { + cb(); + } return; }