make bgpig color optional

This commit is contained in:
elisejakob
2024-05-23 00:11:24 +02:00
parent f22b110bf0
commit 3178fcbdc4

View File

@ -29,7 +29,7 @@ export const BgPig = ({
| "key"
| "chill"
| "peek";
color: "neufPink" | "white" | "goldenBeige";
color?: "neufPink" | "white" | "goldenBeige";
}) => {
const { ref: observer, inView: IsInView } = useInView({ triggerOnce: false });
return (