Fix Carousel and Server connection err dialog

This commit is contained in:
prayag17 committed 2023-05-03 13:54:51 +05:30
1 parent 117ddba9b6
commit b2aaed792e
4 files changed
+41 -30

No files matched your search

+5 -1
View File
@@ -245,7 +245,10 @@ function App() {
});
};
const handleRelaunch = async () => {
const handleRelaunch = async (event, reason) => {
if (reason && reason == "backdropClick") {
return;
}
let result = await relaunch();
};
@@ -309,6 +312,7 @@ function App() {
<Dialog
open={!serverReachable}
onClose={handleRelaunch}
disableBa
aria-labelledby="alert-dialog-text"
aria-describedby="alert-dialog-desc"
maxWidth="md"