diff --git a/app/components/Sidebar/Main.js b/app/components/Sidebar/Main.js index 61d06cdd..ae385e95 100644 --- a/app/components/Sidebar/Main.js +++ b/app/components/Sidebar/Main.js @@ -63,8 +63,7 @@ function MainSidebar() { setInviteModalOpen(true); }, []); - const handleInviteModalClose = React.useCallback((ev: SyntheticEvent<>) => { - ev.preventDefault(); + const handleInviteModalClose = React.useCallback(() => { setInviteModalOpen(false); }, []); diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 3d4e8cbf..b722ca28 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -90,6 +90,7 @@ "Untitled": "Untitled", "Home": "Home", "Starred": "Starred", + "Settings": "Settings", "Invite people…": "Invite people…", "Invite people": "Invite people", "Create a collection": "Create a collection", @@ -111,7 +112,6 @@ "System": "System", "Light": "Light", "Dark": "Dark", - "Settings": "Settings", "API documentation": "API documentation", "Changelog": "Changelog", "Send us feedback": "Send us feedback",