fix: JS error when submitting invites from sidebar-triggered modal
This commit is contained in:
@ -63,8 +63,7 @@ function MainSidebar() {
|
|||||||
setInviteModalOpen(true);
|
setInviteModalOpen(true);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const handleInviteModalClose = React.useCallback((ev: SyntheticEvent<>) => {
|
const handleInviteModalClose = React.useCallback(() => {
|
||||||
ev.preventDefault();
|
|
||||||
setInviteModalOpen(false);
|
setInviteModalOpen(false);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
@ -90,6 +90,7 @@
|
|||||||
"Untitled": "Untitled",
|
"Untitled": "Untitled",
|
||||||
"Home": "Home",
|
"Home": "Home",
|
||||||
"Starred": "Starred",
|
"Starred": "Starred",
|
||||||
|
"Settings": "Settings",
|
||||||
"Invite people…": "Invite people…",
|
"Invite people…": "Invite people…",
|
||||||
"Invite people": "Invite people",
|
"Invite people": "Invite people",
|
||||||
"Create a collection": "Create a collection",
|
"Create a collection": "Create a collection",
|
||||||
@ -111,7 +112,6 @@
|
|||||||
"System": "System",
|
"System": "System",
|
||||||
"Light": "Light",
|
"Light": "Light",
|
||||||
"Dark": "Dark",
|
"Dark": "Dark",
|
||||||
"Settings": "Settings",
|
|
||||||
"API documentation": "API documentation",
|
"API documentation": "API documentation",
|
||||||
"Changelog": "Changelog",
|
"Changelog": "Changelog",
|
||||||
"Send us feedback": "Send us feedback",
|
"Send us feedback": "Send us feedback",
|
||||||
|
Reference in New Issue
Block a user