1
0
Fork 0

Hmm remove debugging

This commit is contained in:
Lim Chee Aun 2022-12-16 13:58:13 +08:00
parent e09e1f16cd
commit f896225707

View file

@ -89,13 +89,11 @@ function App() {
onClose={(results) => { onClose={(results) => {
const { newStatus, fn = () => {} } = results || {}; const { newStatus, fn = () => {} } = results || {};
try { try {
console.log('onClose', newStatus, fn);
if (newStatus) { if (newStatus) {
window.opener.__STATES__.reloadStatusPage++; window.opener.__STATES__.reloadStatusPage++;
} }
fn(); fn();
setUIState('closed'); setUIState('closed');
window.close();
} catch (e) {} } catch (e) {}
}} }}
/> />