mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 04:48:00 +03:00
landscape: stubbing empty functions
@liam-fitzgerald
This commit is contained in:
parent
99aa96cedd
commit
bafe95a988
@ -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;
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user