Skip to content

Commit 707354d

Browse files
authored
Merge pull request #553 from ResearchHub/remove-preprintbadge
Stop showing preprint badge
2 parents 6f2cc69 + 044f75f commit 707354d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

components/Moderators/AuditItemPaper.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { RelatedWorkCard } from '@/components/Paper/RelatedWorkCard';
1010
import { getAuditUserInfo, getAuditContentUrl } from './utils/auditUtils';
1111
import { formatTimestamp } from '@/utils/date';
1212
import { Tooltip } from '@/components/ui/Tooltip';
13-
import { ContentTypeBadge } from '@/components/ui/ContentTypeBadge';
1413
import { ModerationMetadata } from './ModerationMetadata';
1514
import { ModerationActions } from './ModerationActions';
1615
import { truncateText } from '@/utils/stringUtils';
@@ -67,11 +66,6 @@ export const AuditItemPaper: FC<AuditItemPaperProps> = ({ entry, onAction, view
6766

6867
return (
6968
<div className="bg-white border border-gray-200 rounded-lg p-4 hover:shadow-sm transition-shadow">
70-
{/* Content type badge */}
71-
<div className="mb-3">
72-
<ContentTypeBadge type="preprint" />
73-
</div>
74-
7569
{/* User and unified action */}
7670
<div className="flex items-center space-x-3 mb-3">
7771
<Avatar src={userInfo.avatar} alt={userInfo.name} size="sm" authorId={userInfo.authorId} />

components/work/WorkDocument.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import { WorkHistoryDisplay } from './WorkHistoryDisplay';
3030
import { Badge } from '@/components/ui/Badge';
3131
import { Tooltip } from '@/components/ui/Tooltip';
3232

33-
import { ContentTypeBadge } from '@/components/ui/ContentTypeBadge';
3433
import { Button } from '@/components/ui/Button';
3534
import { useUser } from '@/contexts/UserContext';
3635
import { EarningOpportunityBanner } from '@/components/banners/EarningOpportunityBanner';
@@ -257,7 +256,6 @@ export const WorkDocument = ({ work, metadata, defaultTab = 'paper' }: WorkDocum
257256
<EarningOpportunityBanner work={work} metadata={metadata} />
258257
</div>
259258
{/* Title & Actions */}
260-
{work.type === 'preprint' && <ContentTypeBadge type="preprint" size="lg" />}
261259
<PageHeader title={work.title} className="text-2xl md:!text-3xl mt-0" />
262260

263261
<WorkLineItems

0 commit comments

Comments
 (0)