fix: final build and type safety improvements
Fixed map parentheses syntax errors, resolved missing ActivityFeedClient imports, and corrected ActivityFeed prop types for idleQuote support. All systems green.
This commit is contained in:
@@ -35,9 +35,11 @@ function getSafeGamingText(details: string | number | undefined, state: string |
|
||||
}
|
||||
|
||||
export default function ActivityFeed({
|
||||
onActivityChange
|
||||
onActivityChange,
|
||||
idleQuote
|
||||
}: {
|
||||
onActivityChange?: (active: boolean) => void;
|
||||
idleQuote?: string;
|
||||
}) {
|
||||
const [data, setData] = useState<StatusData | null>(null);
|
||||
const [hasActivity, setHasActivity] = useState(false);
|
||||
@@ -85,9 +87,9 @@ export default function ActivityFeed({
|
||||
</div>
|
||||
<div className="space-y-4">
|
||||
<p className="text-xl md:text-2xl font-light leading-tight text-stone-300 italic">
|
||||
“{randomQuote.content}”
|
||||
“{idleQuote || randomQuote.content}”
|
||||
</p>
|
||||
<p className="text-xs font-bold text-stone-500 uppercase tracking-widest">— {randomQuote.author}</p>
|
||||
{!idleQuote && <p className="text-xs font-bold text-stone-500 uppercase tracking-widest">— {randomQuote.author}</p>}
|
||||
</div>
|
||||
<div className="flex items-center gap-2 text-[10px] font-black uppercase tracking-widest text-stone-600">
|
||||
<span className="w-1.5 h-1.5 rounded-full bg-stone-700" /> Currently Thinking
|
||||
|
||||
@@ -122,7 +122,7 @@ const Projects = () => {
|
||||
</div>
|
||||
</Link>
|
||||
</motion.div>
|
||||
))}
|
||||
)))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user