fix: JS error when submitting invites from sidebar-triggered modal
This commit is contained in:
@ -63,8 +63,7 @@ function MainSidebar() {
|
||||
setInviteModalOpen(true);
|
||||
}, []);
|
||||
|
||||
const handleInviteModalClose = React.useCallback((ev: SyntheticEvent<>) => {
|
||||
ev.preventDefault();
|
||||
const handleInviteModalClose = React.useCallback(() => {
|
||||
setInviteModalOpen(false);
|
||||
}, []);
|
||||
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user