From af44b621076a28fccd9b4d46c17cccf8bbd130de Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Wed, 7 Apr 2021 12:46:12 -0400
Subject: [PATCH] Fixing issue with debounce. Fixes #236

---
 src/shared/components/post-form.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/shared/components/post-form.tsx b/src/shared/components/post-form.tsx
index 219ca24..b5a83c3 100644
--- a/src/shared/components/post-form.tsx
+++ b/src/shared/components/post-form.tsx
@@ -90,8 +90,8 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
 
   constructor(props: any, context: any) {
     super(props, context);
-    this.fetchSimilarPosts = debounce(this.fetchSimilarPosts).bind(this);
-    this.fetchPageTitle = debounce(this.fetchPageTitle).bind(this);
+    this.fetchSimilarPosts = debounce(this.fetchSimilarPosts.bind(this));
+    this.fetchPageTitle = debounce(this.fetchPageTitle.bind(this));
     this.handlePostBodyChange = this.handlePostBodyChange.bind(this);
 
     this.state = this.emptyState;
-- 
2.44.1