Skip to content

Commit 839bdd1

Browse files
ankith26github-actions[bot]
authored andcommitted
Apply Prettier Formatting Fixes
1 parent 8fee7c7 commit 839bdd1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

frontend/src/components/ReviewBox.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const ReviewBox = ({ children, title, endpoint, initExpanded }) => {
140140
} else {
141141
fetchReviews();
142142
}
143-
}
143+
};
144144

145145
const toggleExpand = () => {
146146
setIsExpanded(!isExpanded);
@@ -151,8 +151,7 @@ const ReviewBox = ({ children, title, endpoint, initExpanded }) => {
151151
if (initExpanded != isExpanded) {
152152
/* reviews will be updated in the isExpanded watcher */
153153
setIsExpanded(initExpanded);
154-
}
155-
else {
154+
} else {
156155
/* isExpanded watcher will not be called, so force update here */
157156
if (initExpanded) {
158157
fetchReviewsAllowCache();

0 commit comments

Comments
 (0)