landscape: stubbing empty functions

@liam-fitzgerald
This commit is contained in:
Matilde Park 2021-03-24 16:02:08 -04:00
parent 99aa96cedd
commit bafe95a988
2 changed files with 8 additions and 2 deletions

View File

@ -56,6 +56,11 @@ function parseGraphPermalink(
};
}
export function permalinkToReference({ any }: any): any {
//TODO write this function
return { reference: '' }
}
export function referenceToPermalink({ reference }: ReferenceContent): Permalink {
if('graph' in reference) {
const { graph, group, index } = reference.graph;

View File

@ -279,10 +279,11 @@ class ChatMessage extends Component<ChatMessageProps> {
showOurContact,
fontSize,
hideHover
onReply = () => {},
transcluded = 0
} = this.props;
let onReply = this.props?.onReply;
onReply ??= () => {};
const transcluded = this.props?.transcluded ?? 0;
let { renderSigil } = this.props;
if (renderSigil === undefined) {