diff --git a/src/components/RatingHistory/RatingHistory.css b/src/components/RatingHistory/RatingHistory.css index 0b58663..e26dcea 100644 --- a/src/components/RatingHistory/RatingHistory.css +++ b/src/components/RatingHistory/RatingHistory.css @@ -2,4 +2,9 @@ display: flex; flex-direction: column; align-items: center; +} + +.rating-history-page { + padding: 3em; + height: 100vh; } \ No newline at end of file diff --git a/src/components/RatingHistory/RatingHistory.jsx b/src/components/RatingHistory/RatingHistory.jsx index 8bb2bb3..f4a48e8 100644 --- a/src/components/RatingHistory/RatingHistory.jsx +++ b/src/components/RatingHistory/RatingHistory.jsx @@ -46,33 +46,35 @@ function RatingHistory({ userName, profilePic }) { return (
Loading posts...
) : - (filteredPost - .slice() - .sort((a, b) => b.date.seconds - a.date.seconds).map((post) => -Loading posts...
) : + (filteredPost + .slice() + .sort((a, b) => b.date.seconds - a.date.seconds).map((post) => +