From 2abbe23a9c6054e4ff5314333bba25b88554d1ec Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 3 Aug 2021 11:41:48 -0400 Subject: fixed links being blown away in sidebars. --- src/client/views/SidebarAnnos.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/SidebarAnnos.tsx b/src/client/views/SidebarAnnos.tsx index 010418be5..7b11723c3 100644 --- a/src/client/views/SidebarAnnos.tsx +++ b/src/client/views/SidebarAnnos.tsx @@ -33,7 +33,7 @@ interface ExtraProps { export class SidebarAnnos extends React.Component { constructor(props: Readonly) { super(props); - this.props.dataDoc[this.sidebarKey] = new List(); + // this.props.dataDoc[this.sidebarKey] = new List(); // bcz: can't do this here. it blows away existing things and isn't a robust solution for making sure the field exists -- instead this should happen when the document is created and/or shared } _stackRef = React.createRef(); @computed get allHashtags() { -- cgit v1.2.3-70-g09d2