fix context menu not closing
This commit is contained in:
parent
72b0b0004d
commit
b30a3d87b7
@ -45,7 +45,7 @@ This will create a `.cordis` guild invite file in the `dist/server/invites` dire
|
||||
See Also
|
||||
- `make create-invite-heaven` - creates invite to the second server
|
||||
- `make create-example-roles` - registers the user named 'Elipzer' as an admin
|
||||
- `make create-memes-messages` - inserts 2000 messages into the #memes text channel
|
||||
- `make create-memes-messages` - inserts testing messages into the #memes text channel to help with testing infinite scroll
|
||||
|
||||
Launch the Server
|
||||
|
||||
|
@ -58,7 +58,8 @@ electronMain.initialize();
|
||||
|
||||
electronMain.enable(window.webContents);
|
||||
|
||||
window.webContents.openDevTools();
|
||||
// enable dev tools by default
|
||||
// window.webContents.openDevTools();
|
||||
|
||||
electron.ipcMain.on('minimize', () => {
|
||||
window.minimize();
|
||||
|
@ -53,8 +53,8 @@ const ConnectionInfo: FC = () => {
|
||||
|
||||
if (guild) {
|
||||
return (
|
||||
<div ref={rootRef} className="connection-info" onClick={toggleContextMenu}>
|
||||
<div>
|
||||
<div ref={rootRef}>
|
||||
<div className="connection-info" onClick={toggleContextMenu}>
|
||||
<MemberElement guild={guild} member={displayMember} />
|
||||
</div>
|
||||
{contextMenu}
|
||||
|
Loading…
Reference in New Issue
Block a user