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) => {
const { newStatus, fn = () => {} } = results || {};
try {
console.log('onClose', newStatus, fn);
if (newStatus) {
window.opener.__STATES__.reloadStatusPage++;
}
fn();
setUIState('closed');
window.close();
} catch (e) {}
}}
/>