Skip to content

Commit bff3601

Browse files
committed
remove download count section
1 parent afb0652 commit bff3601

File tree

1 file changed

+2
-11
lines changed
  • app/[locale]/(user)/datasets/[datasetIdentifier]/components/PrimaryData

1 file changed

+2
-11
lines changed

app/[locale]/(user)/datasets/[datasetIdentifier]/components/PrimaryData/index.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

3-
import { Button, Icon, Spinner, Tag, Text, Tray } from 'opub-ui';
43
import React, { useState } from 'react';
4+
import { Button, Icon, Spinner, Tag, Text, Tray } from 'opub-ui';
55

66
import { Icons } from '@/components/icons';
77
import Metadata from '../Metadata';
@@ -17,16 +17,7 @@ const PrimaryData: React.FC<PrimaryDataProps> = ({ data, isLoading }) => {
1717
return (
1818
<div>
1919
<div className="flex flex-col gap-4">
20-
<div className="flex justify-between gap-2">
21-
<Text variant="headingLg">{data?.title}</Text>
22-
{data.downloadCount > 0 && (
23-
<div className="flex gap-1">
24-
<Text>{data.downloadCount}</Text>
25-
<Icon source={Icons.download} size={18} color="warning" />
26-
</div>
27-
)}
28-
</div>
29-
20+
<Text variant="headingLg">{data?.title}</Text>
3021
<div className="flex gap-2">
3122
{data?.tags.map((item: any, index: any) => (
3223
<Tag key={index}>{item.value}</Tag>

0 commit comments

Comments
 (0)