fix broken avatar on search page
All checks were successful
deploy / deploy (push) Successful in 55s

This commit is contained in:
Lee 2023-10-28 00:00:48 +01:00
parent 4d6ece7a3b
commit d7fe245036

@ -1,11 +1,7 @@
type UnknownAvatarProps = { export default function UnknownAvatar() {
size?: number;
};
export default function UnknownAvatar({ size = 150 }: UnknownAvatarProps) {
return ( return (
<div <div
className={`mb-4 mt-2 flex h-[${size}px] w-[${size}px] items-center justify-center rounded-full bg-gray-600`} className={`mb-4 mt-2 flex h-[150px] w-[150px] items-center justify-center rounded-full bg-gray-600`}
> >
<p className="text-9xl">?</p> <p className="text-9xl">?</p>
</div> </div>