From 7aada8549113b2712b1b03ca22c6219c48fb84d5 Mon Sep 17 00:00:00 2001 From: JaberHPranto Date: Wed, 15 Sep 2021 21:54:01 +0600 Subject: [PATCH] updated --- client/src/components/Blog/Blog.js | 2 +- client/src/pages/MainPage.js | 4 ++-- client/src/styles/blog.css | 1 + client/src/styles/index.css | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/components/Blog/Blog.js b/client/src/components/Blog/Blog.js index ab89882..2afd944 100644 --- a/client/src/components/Blog/Blog.js +++ b/client/src/components/Blog/Blog.js @@ -10,7 +10,7 @@ function Blog() { const history = useHistory() function handleCreateBlog(){ - history.push("/blog/new") + history.push("/newblog") } return ( <> diff --git a/client/src/pages/MainPage.js b/client/src/pages/MainPage.js index 5fcb656..f04f07b 100644 --- a/client/src/pages/MainPage.js +++ b/client/src/pages/MainPage.js @@ -57,9 +57,9 @@ function MainPage() { {/* Blog Routes */} - - + +