Skip to content

Commit

Permalink
chore: change to spread expression (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyuhho committed Jun 27, 2024
1 parent 39761c8 commit 98c4ca5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/pages/Buyer/BuyerReviewManage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,7 @@ export const BuyerReviewManage = () => {
*/
const renderReviewList = () => {
if (reviewData.length === 0) {
return (
<EmptySection
title={emptySectionText.title}
subtitle={emptySectionText.subtitle}
/>
);
return <EmptySection {...emptySectionText} />;
}

return (
Expand Down

0 comments on commit 98c4ca5

Please sign in to comment.