Skip to content

Commit

Permalink
[Feat] 포스트잇 찾을 수 없는 작성자 표시
Browse files Browse the repository at this point in the history
기존 빈 칸 => '알 수 없음'으로 표시
  • Loading branch information
LeeMir committed Dec 26, 2021
1 parent 14feac9 commit b9538b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Board/Postit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const Footer = ({ createdBy, createdAt, updatedBy, updatedAt }: { [key: string]:
fontSize={FONT_SIZE.small}
width={POSTIT.WIDTH - 0.5 * PADDING}
height={FONT_SIZE.small}
y={FONT_SIZE.small}
y={FONT_SIZE.small + 0.25 * FONT_SIZE.small}
fill={ColorCode.GRAY}
wrap='none'
align='right'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/BoardPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const BoardPage: React.FC<Props> = ({ match }) => {
const teamId = Number(match.params.teamId);
const teamUserList = useRecoilValue(teamUsersSelector(teamId));
const getUserNameById = (userId: number) =>
Object.values(teamUserList).find((user) => Number(user.userId) === Number(userId))?.name ?? '';
Object.values(teamUserList).find((user) => Number(user.userId) === Number(userId))?.name ?? '알 수 없음';

const socket = useContext(SocketContext).current;

Expand Down

0 comments on commit b9538b1

Please sign in to comment.