Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
SatooRu65536 committed Nov 19, 2024
1 parent e45715d commit 3d41a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RandomIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface Props {

export default function RandomIcon({ userName }: Props) {
const hash = useMemo(() => Array.from(userName).reduce((acc, char) => acc + char.charCodeAt(0), 0), []);
const color = `hsl(${(hash) % 360}, 70%, 50%)`;
const color = `hsl(${hash % 360}, 70%, 50%)`;

return <OldManIcon color={color} />;
}
Expand Down

0 comments on commit 3d41a9c

Please sign in to comment.