From 274761276ebe39b5655fcd2b7505be47b3cbf85a Mon Sep 17 00:00:00 2001 From: Adithya Ajith <4adhi007@gmail.com> Date: Thu, 8 Dec 2022 22:37:42 +0530 Subject: [PATCH] REFRACTIONS' --- src/pages/ReviewPage/ReviewPage.css | 1 + src/pages/ReviewPage/ReviewPage.js | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/pages/ReviewPage/ReviewPage.css b/src/pages/ReviewPage/ReviewPage.css index 87c5b69..aba8f5b 100644 --- a/src/pages/ReviewPage/ReviewPage.css +++ b/src/pages/ReviewPage/ReviewPage.css @@ -133,3 +133,4 @@ section.t-bq-section { top: 45px; } } + diff --git a/src/pages/ReviewPage/ReviewPage.js b/src/pages/ReviewPage/ReviewPage.js index 884ca25..dc11340 100644 --- a/src/pages/ReviewPage/ReviewPage.js +++ b/src/pages/ReviewPage/ReviewPage.js @@ -6,8 +6,10 @@ import baseUrl from '../../utils/Urls' import ReviewCards from './ReviewCards' import CustomTitle from '../../utils/CustomTitle' import ReviewDialog from '../../components/ReviewDialog/ReviewDialog' -import {BsPlusCircle} from 'react-icons/bs' + + function ReviewPage() { + const[reviews,setReviews]=useState([]) const[open,setOpen]=useState(false) @@ -29,10 +31,11 @@ useEffect(()=>{
{ - (localStorage.getItem('refresh_token'))?(( - - )):(( null)) - } + + (localStorage.getItem('refresh_token'))?(( )):(( null)) + } { reviews.map((item)=>{ return(