fix: Consistently default letter icon content to ?

This commit is contained in:
Tom Moor
2024-06-24 21:20:45 -04:00
parent 8336207c23
commit fbd8f5981b

View File

@@ -15,7 +15,7 @@ type Props = {
const LetterIcon = ({ children, size = 24, ...rest }: Props) => (
<LetterIconWrapper $size={size}>
<Squircle size={Math.round(size * 0.66)} {...rest}>
{children}
{children ?? "?"}
</Squircle>
</LetterIconWrapper>
);