diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-08-04 00:19:58 +0530 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-08-04 00:19:58 +0530 |
commit | 9043bea3bda78b2adf1a5d841bfaf6bec903e3e1 (patch) | |
tree | e5eaf53bde22035a2074327a781056bf4f9d1d12 /src/client/views/MainViewNotifs.tsx | |
parent | 2331b3a271cc53390d281fa16a553467a3d7a7de (diff) | |
parent | fb8150f01232a3f8e9333f9ed7012b6982b00c24 (diff) |
merge conflicts resolved
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> |