{
super.willUpdate(changedProperties);
if ((changedProperties.has("weavy") || changedProperties.has("app")) && this.weavy && this.app) {
await this.updatePostMutation.trackMutation(getUpdatePostMutationOptions(this.weavy, ["posts", this.app.id]));
}
}
override render() {
const dateFromNow = relativeDays(this.weavy?.locale, new Date(this.post.created_at));
return html`
${this.post.created_by.name}
this.dispatchEdit(false)}>
this.handleSubmit(e)}
>
`;
}
}