Skip to content

Commit

Permalink
added blog editor
Browse files Browse the repository at this point in the history
  • Loading branch information
JaberHPranto committed Oct 8, 2021
1 parent a026fa5 commit 42320ee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/components/Blog/BlogDetails.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React, { useEffect } from 'react'
import { Badge, Container } from 'react-bootstrap'
import ReactHtmlParser from 'react-html-parser'
import { useDispatch, useSelector } from 'react-redux'
import { fetchBlogById } from '../../redux/actions/blogActions'
import '../../styles/blog.css'
import '../../styles/bl2og.css'
import Loader from '../Ecommerce/Loader'
import Message from '../Ecommerce/Message'

@@ -37,7 +38,7 @@ function BlogDetails({match}) {
</div>

<div className='blog-det-desc'>
{blog.description}
{ReactHtmlParser(blog.description)}
</div>
<div className="blog-det-tags">
{blog.tags && blog.tags.map((tag, index) => (

0 comments on commit 42320ee

Please sign in to comment.