diff options
Diffstat (limited to 'src/client/views/MainViewNotifs.tsx')
-rw-r--r-- | src/client/views/MainViewNotifs.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MainViewNotifs.tsx b/src/client/views/MainViewNotifs.tsx index 05f890485..041d7301f 100644 --- a/src/client/views/MainViewNotifs.tsx +++ b/src/client/views/MainViewNotifs.tsx @@ -23,7 +23,7 @@ export class MainViewNotifs extends React.Component { const notifsRef = React.createRef<HTMLDivElement>(); const dragNotifs = action(() => MainViewNotifs.NotifsCol!); return <div className="mainNotifs-container" ref={notifsRef}> - <button className="mainNotifs-badge" style={length > 0 ? { "display": "initial" } : { "display": "none" }} + <button className="mainNotifs-badge" style={{ display: length > 0 ? "initial" : "none" }} onClick={this.openNotifsCol} onPointerDown={MainViewNotifs.NotifsCol ? SetupDrag(notifsRef, dragNotifs) : emptyFunction}> {length} </button> |