Upload folder using huggingface_hub
Browse files
client/src/components/Refinity.tsx
CHANGED
|
@@ -461,25 +461,23 @@ const Refinity: React.FC = () => {
|
|
| 461 |
aria-hidden="true"
|
| 462 |
tabIndex={-1}
|
| 463 |
className="inline-flex items-center justify-center gap-2 text-white text-sm font-medium rounded-2xl ring-1 ring-inset ring-white/50"
|
| 464 |
-
style={{ opacity: 0, pointerEvents: 'none',
|
| 465 |
>
|
| 466 |
-
|
| 467 |
</button>
|
| 468 |
-
<
|
| 469 |
-
|
| 470 |
-
tabIndex={0}
|
| 471 |
onClick={(e) => {
|
| 472 |
e.preventDefault();
|
| 473 |
e.stopPropagation();
|
| 474 |
console.log('Revise clicked for version:', v.versionNumber, 'id:', v.id);
|
| 475 |
selectManual(v.id);
|
| 476 |
}}
|
| 477 |
-
onKeyDown={(e)=>{ if(e.key==='Enter'||e.key===' '){ e.preventDefault(); e.stopPropagation(); selectManual(v.id);} }}
|
| 478 |
className="inline-flex items-center justify-center gap-2 text-white text-sm font-medium rounded-2xl ring-1 ring-inset ring-white/50 active:translate-y-0.5 transition-all duration-200"
|
| 479 |
style={{ position: 'relative', zIndex: 3100, pointerEvents: 'auto', padding: '0.5rem 0.75rem', backgroundColor: '#4f46e5', borderRadius: '1rem', border: '1px solid rgba(255,255,255,0.5)', cursor: 'pointer' }}
|
| 480 |
>
|
| 481 |
Revise
|
| 482 |
-
</
|
| 483 |
<button
|
| 484 |
type="button"
|
| 485 |
onClick={(e) => { e.preventDefault(); e.stopPropagation(); setCompareUIOpen(true); if (!compareA) setCompareA(v.id); }}
|
|
|
|
| 461 |
aria-hidden="true"
|
| 462 |
tabIndex={-1}
|
| 463 |
className="inline-flex items-center justify-center gap-2 text-white text-sm font-medium rounded-2xl ring-1 ring-inset ring-white/50"
|
| 464 |
+
style={{ opacity: 0, pointerEvents: 'none', padding: '0.5rem 0.75rem', backgroundColor: '#4f46e5', borderRadius: '1rem', border: '1px solid rgba(255,255,255,0.5)' }}
|
| 465 |
>
|
| 466 |
+
Dummy
|
| 467 |
</button>
|
| 468 |
+
<button
|
| 469 |
+
type="button"
|
|
|
|
| 470 |
onClick={(e) => {
|
| 471 |
e.preventDefault();
|
| 472 |
e.stopPropagation();
|
| 473 |
console.log('Revise clicked for version:', v.versionNumber, 'id:', v.id);
|
| 474 |
selectManual(v.id);
|
| 475 |
}}
|
|
|
|
| 476 |
className="inline-flex items-center justify-center gap-2 text-white text-sm font-medium rounded-2xl ring-1 ring-inset ring-white/50 active:translate-y-0.5 transition-all duration-200"
|
| 477 |
style={{ position: 'relative', zIndex: 3100, pointerEvents: 'auto', padding: '0.5rem 0.75rem', backgroundColor: '#4f46e5', borderRadius: '1rem', border: '1px solid rgba(255,255,255,0.5)', cursor: 'pointer' }}
|
| 478 |
>
|
| 479 |
Revise
|
| 480 |
+
</button>
|
| 481 |
<button
|
| 482 |
type="button"
|
| 483 |
onClick={(e) => { e.preventDefault(); e.stopPropagation(); setCompareUIOpen(true); if (!compareA) setCompareA(v.id); }}
|