fix context problems

This commit is contained in:
u80864958
2025-05-05 09:00:15 +02:00
parent 14b57b57e8
commit a06444c4df
6 changed files with 29 additions and 13 deletions

View File

@ -19,12 +19,6 @@ export class CreatePostComponent {
content: '',
});
constructor() {
setTimeout(() => {
this.post.set({ ...this.post(), title: 'adf' });
}, 1000);
}
publish() {
this.postsService.createPost(this.post());
this.location.back();