@@ -96,7 +96,7 @@ export default function MyDataPage() {
9696 const createFlow = useCallback ( async ( data : Uint8Array , identifier : string ) => {
9797 const walrus = await getWalrus ( ) ;
9898 const { WalrusFile } = await import ( '@mysten/walrus' ) ;
99-
99+
100100 const client = new SuiJsonRpcClient ( {
101101 url : getFullnodeUrl ( 'testnet' ) ,
102102 network : 'testnet' ,
@@ -299,7 +299,7 @@ export default function MyDataPage() {
299299 const effects = result . effects as { created ?: Array < { reference : { objectId : string } } > } | undefined ;
300300 const newListingId = effects ?. created ?. [ 0 ] ?. reference ?. objectId || result . digest ;
301301 console . log ( 'New listing ID:' , newListingId ) ;
302-
302+
303303 addLog ( 'listing' , 'success' , 'Listing created!' , `ID: ${ newListingId . slice ( 0 , 16 ) } ...` ) ;
304304 setListingId ( newListingId ) ;
305305
@@ -359,7 +359,7 @@ export default function MyDataPage() {
359359 </ div >
360360 < h1 className = "text-4xl font-black text-ink uppercase tracking-tight" > My Data Dashboard</ h1 >
361361 </ div >
362-
362+
363363 < div className = "relative group" >
364364 < div className = "absolute -inset-1 rounded-xl bg-ink opacity-100 translate-x-1 translate-y-1 blur-0" > </ div >
365365 < div className = "relative flex items-center gap-6 rounded-xl border-2 border-ink bg-white p-4 pr-8 shadow-sm" >
@@ -383,23 +383,21 @@ export default function MyDataPage() {
383383
384384 < div className = "px-8 mt-6" >
385385 < div className = "flex gap-4 border-b-2 border-gray-200" >
386- < button
386+ < button
387387 onClick = { ( ) => setActiveTab ( 'uploads' ) }
388- className = { `px-6 py-3 rounded-t-xl border-2 font-bold text-lg transition-colors relative top-[2px] z-10 ${
389- activeTab === 'uploads'
390- ? 'border-ink border-b-0 bg-white text-ink shadow-[0_-2px_0_0_rgba(0,0,0,0.05)]'
391- : 'border-transparent hover:bg-gray-100 text-gray-500'
392- } `}
388+ className = { `px-6 py-3 rounded-t-xl border-2 font-bold text-lg transition-colors relative top-[2px] z-10 ${ activeTab === 'uploads'
389+ ? 'border-ink border-b-0 bg-white text-ink shadow-[0_-2px_0_0_rgba(0,0,0,0.05)]'
390+ : 'border-transparent hover:bg-gray-100 text-gray-500'
391+ } `}
393392 >
394393 My Uploads
395394 </ button >
396- < button
395+ < button
397396 onClick = { ( ) => setActiveTab ( 'purchases' ) }
398- className = { `px-6 py-3 rounded-t-xl border-2 font-bold text-lg transition-colors relative top-[2px] z-10 ${
399- activeTab === 'purchases'
400- ? 'border-ink border-b-0 bg-white text-ink shadow-[0_-2px_0_0_rgba(0,0,0,0.05)]'
401- : 'border-transparent hover:bg-gray-100 text-gray-500'
402- } `}
397+ className = { `px-6 py-3 rounded-t-xl border-2 font-bold text-lg transition-colors relative top-[2px] z-10 ${ activeTab === 'purchases'
398+ ? 'border-ink border-b-0 bg-white text-ink shadow-[0_-2px_0_0_rgba(0,0,0,0.05)]'
399+ : 'border-transparent hover:bg-gray-100 text-gray-500'
400+ } `}
403401 >
404402 My Purchases
405403 </ button >
@@ -417,9 +415,9 @@ export default function MyDataPage() {
417415 View Analytics < span className = "material-symbols-outlined text-sm" > arrow_outward</ span >
418416 </ button >
419417 </ div >
420-
418+
421419 < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6" >
422- < article
420+ < article
423421 onClick = { ( ) => setIsCreateModalOpen ( true ) }
424422 className = "flex flex-col items-center justify-center rounded-xl border-2 border-dashed border-ink bg-gray-50 p-6 min-h-[340px] hover:bg-blue-50 hover:border-primary transition-all duration-200 cursor-pointer group"
425423 >
@@ -572,7 +570,7 @@ export default function MyDataPage() {
572570 Recent Purchases < span className = "text-gray-400 text-base font-normal ml-1" > (0 items)</ span >
573571 </ h2 >
574572 </ div >
575-
573+
576574 < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6" >
577575 < article className = "flex flex-col rounded-xl border-2 border-ink bg-white p-4 shadow-hard-sm opacity-60" >
578576 < div className = "flex items-start justify-between mb-4" >
@@ -583,7 +581,7 @@ export default function MyDataPage() {
583581 </ div >
584582 < h3 className = "text-lg font-bold text-gray-400 mb-1" > No purchases yet</ h3 >
585583 < p className = "text-sm text-gray-400 mb-4" > Start exploring the marketplace to find datasets.</ p >
586- < Link
584+ < Link
587585 href = "/marketplace"
588586 className = "mt-auto w-full h-10 rounded-lg border-2 border-ink bg-gray-100 text-gray-500 font-bold transition-colors flex items-center justify-center gap-2"
589587 >
@@ -595,15 +593,6 @@ export default function MyDataPage() {
595593 ) }
596594 </ div >
597595
598- < footer className = "mt-auto border-t-2 border-ink pt-8 flex flex-col items-center gap-4 text-center opacity-60 pb-8 bg-[#f6f7f9]" >
599- < p className = "text-sm font-bold" > Powered by Sui Network</ p >
600- < div className = "flex gap-4" >
601- < span className = "material-symbols-outlined" > dataset</ span >
602- < span className = "material-symbols-outlined" > security</ span >
603- < span className = "material-symbols-outlined" > hub</ span >
604- </ div >
605- </ footer >
606-
607596 { isCreateModalOpen && (
608597 < div className = "fixed inset-0 z-50 flex items-center justify-center bg-ink/50 backdrop-blur-sm p-4" >
609598 < div className = "w-full max-w-5xl bg-white rounded-2xl border-2 border-ink shadow-hard-lg max-h-[90vh] overflow-hidden flex flex-col" >
@@ -637,7 +626,7 @@ export default function MyDataPage() {
637626 const isCompleted = index < stepIndex ;
638627 const isCurrent = step . key === currentStep ;
639628 const isPending = index > stepIndex ;
640-
629+
641630 return (
642631 < React . Fragment key = { step . key } >
643632 < div className = "flex flex-col items-center" >
@@ -660,9 +649,8 @@ export default function MyDataPage() {
660649 </ span >
661650 </ div >
662651 { index < STEPS . length - 1 && (
663- < div className = { `flex-1 h-1 mx-2 rounded ${
664- isCompleted ? 'bg-green-500' : 'bg-gray-200'
665- } `} />
652+ < div className = { `flex-1 h-1 mx-2 rounded ${ isCompleted ? 'bg-green-500' : 'bg-gray-200'
653+ } `} />
666654 ) }
667655 </ React . Fragment >
668656 ) ;
@@ -817,7 +805,7 @@ export default function MyDataPage() {
817805 < div className = "space-y-6" >
818806 < div className = "bg-gray-50 border-2 border-ink rounded-xl p-6" >
819807 < h3 className = "font-bold uppercase text-lg mb-4 text-ink" > Dataset Summary</ h3 >
820-
808+
821809 < div className = "grid grid-cols-2 gap-4 mb-4" >
822810 < div >
823811 < p className = "text-sm text-gray-500" > Name</ p >
@@ -880,7 +868,7 @@ export default function MyDataPage() {
880868 ) : (
881869 < div className = "space-y-3" >
882870 { logs . map ( ( log , index ) => (
883- < div
871+ < div
884872 key = { index }
885873 className = { `
886874 rounded-lg p-3 border-2 text-sm
@@ -940,14 +928,14 @@ export default function MyDataPage() {
940928 Listing Created!
941929 </ h2 >
942930 < p className = "text-gray-600 mb-4" > Your dataset is now on the marketplace</ p >
943-
931+
944932 { listingId && (
945933 < div className = "w-full bg-gray-50 rounded-lg p-3 mb-6 border border-gray-200" >
946934 < p className = "text-xs font-bold text-gray-500 uppercase mb-1" > Listing ID</ p >
947935 < p className = "font-mono text-xs text-ink break-all" > { listingId } </ p >
948936 </ div >
949937 ) }
950-
938+
951939 < div className = "flex gap-3 w-full" >
952940 < button
953941 onClick = { ( ) => {
0 commit comments