Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
laks0407 committed Nov 11, 2024
1 parent 8546bd3 commit 7c5123b
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions frontend/src/components/common/StatusMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ interface StatusMessageProps {
color?: string;
}

const StatusMessage = ({ message, color = "blue.700" }: StatusMessageProps): React.ReactElement => {
return (
<Text
color={color}
textAlign="center"
lineHeight="120%"
marginTop="16px"
>
{message}
</Text>
);
};

export default StatusMessage;
const StatusMessage = ({
message,
color = "blue.700",
}: StatusMessageProps): React.ReactElement => {
return (
<Text color={color} textAlign="center" lineHeight="120%" marginTop="16px">
{message}
</Text>
);
};

export default StatusMessage;

0 comments on commit 7c5123b

Please sign in to comment.