mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
ChatWindow: stop blue line moving
This commit is contained in:
parent
1093a80604
commit
0f674aab17
@ -98,6 +98,10 @@ class ChatWindow extends Component<
|
||||
|
||||
calculateUnreadIndex() {
|
||||
const { graph, unreadCount } = this.props;
|
||||
const { state } = this;
|
||||
if(state.unreadIndex.neq(bigInt.zero)) {
|
||||
return;
|
||||
}
|
||||
const unreadIndex = graph.keys()[unreadCount];
|
||||
if (!unreadIndex || unreadCount === 0) {
|
||||
this.setState({
|
||||
|
Loading…
Reference in New Issue
Block a user