diff --git a/src/App.tsx b/src/App.tsx
index 7ef65ef..dcd42ca 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1068,6 +1068,11 @@ function App() {
message:
"Your settings have changed. If you logout you will lose your changes. Click on the save button in the header to keep your changed settings.",
});
+ } else {
+ await showUnsavedChanges({
+ message:
+ "Are you sure you would like to logout?",
+ });
}
window
.sendMessage("logout", {})
@@ -2933,10 +2938,10 @@ await showInfo({
-
diff --git a/src/components/Chat/AdminSpaceInner.tsx b/src/components/Chat/AdminSpaceInner.tsx
index 41d7c38..381302d 100644
--- a/src/components/Chat/AdminSpaceInner.tsx
+++ b/src/components/Chat/AdminSpaceInner.tsx
@@ -199,7 +199,7 @@ export const AdminSpaceInner = ({
{` by ${groupSecretKeyPublishDetails?.name}`}
)}
- setIsForceShowCreationKeyPopup(true) variant="contained">
+ setIsForceShowCreationKeyPopup(true)} variant="contained">
Publish group secret key