-
-
- {item.author} · {item.repoLabel}
-
+ {/* Suggested (Vouches) Section */}
+
+
+
+
}>
+
+ {(suggestion) => {
+ const isVouched = () => vouchedHandles().includes(suggestion.handle);
+ const toggleVouch = () => {
+ if (!auth.currentDid()) {
+ alert('Please sign in to vouch for users.');
+ return;
+ }
+ if (isVouched()) {
+ setVouchedHandles(prev => prev.filter(h => h !== suggestion.handle));
+ } else {
+ setVouchedHandles(prev => [...prev, suggestion.handle]);
+ }
+ };
+ return (
+
+
+
+
+
+
+
+
-
- );
- }}
-
+ );
+ }}
+
+
-
+
-
-