diff --git a/src/realm-settings/UserProfileTab.tsx b/src/realm-settings/UserProfileTab.tsx index 03a037127b..68121bb649 100644 --- a/src/realm-settings/UserProfileTab.tsx +++ b/src/realm-settings/UserProfileTab.tsx @@ -60,6 +60,7 @@ export const UserProfileTab = () => { setActiveTab(key.toString())} + mountOnEnter > { eventKey="jsonEditor" title={{t("jsonEditor")}} > - {/** The code editor needs to be rendered conditionally to prevent it from being initialized - * while the tab contents are hidden. If the contents of the tab are hidden then it - * might not initialize correctly. - */} - {activeTab === "jsonEditor" && ( - - )} + );