Skip to content

Commit

Permalink
fix: 오류 확인을 위해 UserStateDisplay 기본값 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
surinkwon committed Jun 13, 2024
1 parent 85ebf39 commit 5f16cb2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions frontend/src/components/landing/member/UserBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ interface UserBlockProps {
status: "on" | "off" | "away";
}

const UserStateDisplay = ({
status = "off",
}: {
status: "on" | "off" | "away";
}) => {
const UserStateDisplay = ({ status }: { status: "on" | "off" | "away" }) => {
const { bgColor, text } = USER_STATE_DISPLAY[status];
return (
<div className="flex gap-2 items-center w-[4.0625rem]">
Expand Down

0 comments on commit 5f16cb2

Please sign in to comment.