linguabot commited on
Commit
254a1d5
·
verified ·
1 Parent(s): 006f9ed

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. client/src/components/Refinity.tsx +5 -7
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', position: 'absolute', width: 0, height: 0, margin: 0, padding: 0, border: 0 }}
465
  >
466
-
467
  </button>
468
- <div
469
- role="button"
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
- </div>
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); }}