Skip to content

Commit

Permalink
[ code review ] ReplyData 옵셔널 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Brokyeom committed Jul 19, 2022
1 parent c2d2020 commit a55bdb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/community/ReplyContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from '@emotion/styled';
interface ReplyContentProps {
userNickname?: string;
content: string;
createdAt?: string;
createdAt: string;
}

export default function ReplyContent(props: ReplyContentProps) {
Expand Down
2 changes: 1 addition & 1 deletion types/community.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface ImgData {
export interface ReplyData {
userNickname?: string;
content: string;
createdAt?: string;
createdAt: string;
}
// 커뮤니티 데이터
export interface CommunityData {
Expand Down

0 comments on commit a55bdb1

Please sign in to comment.