Skip to content

Commit

Permalink
refactor: (#110) 컴포넌트에서만 사용되는 상수의 위치 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilpop8663 committed Jul 23, 2023
1 parent dccc6c2 commit d3b71b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/post/PostList/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const CATEGORY_ID = 'categoryId';
2 changes: 0 additions & 2 deletions frontend/src/constants/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ export const REQUEST_SORTING_OPTION: Record<PostSorting, string> = {
latest: 'LATEST',
popular: 'HOT',
};

export const CATEGORY_ID = 'categoryId';

0 comments on commit d3b71b2

Please sign in to comment.