Skip to content

Commit

Permalink
REFRACTIONS'
Browse files Browse the repository at this point in the history
  • Loading branch information
XdithyX committed Dec 8, 2022
1 parent 6c478a9 commit 2747612
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/pages/ReviewPage/ReviewPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,4 @@ section.t-bq-section {
top: 45px;
}
}

13 changes: 8 additions & 5 deletions src/pages/ReviewPage/ReviewPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -29,10 +31,11 @@ useEffect(()=>{
<ReviewDialog open={open} handleClose={handleClose} />
<div className='review__container'>
{
(localStorage.getItem('refresh_token'))?(( <BsPlusCircle onClick={handleClickOpen} />

)):(( null))
}

(localStorage.getItem('refresh_token'))?((<button className="review__popper" onClick={handleClickOpen} >
Review
</button> )):(( null))
}
{
reviews.map((item)=>{
return(
Expand Down

0 comments on commit 2747612

Please sign in to comment.