Skip to content

Commit

Permalink
refactor: msw ๊ฐœ์„ 
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielyoon7 committed Aug 17, 2023
1 parent e982800 commit 7efca90
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const stationReviewHandlers = [
const page = Number(searchParams.get('page'));
console.log(`์ถฉ์ „์†Œ ํ›„๊ธฐ ์กฐํšŒ page=${page}`);

if (page === 3) {
if (page === 5) {
return res(
ctx.json({
reviews: reviews.slice(0, 3),
Expand All @@ -35,7 +35,7 @@ export const stationReviewHandlers = [
ctx.delay(1000),
ctx.status(200)
);
} else if (page > 3) {
} else if (page > 5) {
return res(
ctx.json({
reviews: [],
Expand Down

0 comments on commit 7efca90

Please sign in to comment.