Skip to content

Commit d366206

Browse files
committed
fix(webpanel/pages): duplicate identifiers content for admin view
1 parent 96fa81a commit d366206

1 file changed

Lines changed: 0 additions & 59 deletions

File tree

‎apps/webpanel/src/pages/settings/adminview.tsx‎

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -557,65 +557,6 @@ export default function AdminView() {
557557
</Card>
558558
</TabsContent>
559559

560-
<TabsContent
561-
value="identifiers"
562-
className="flex-1 flex flex-col min-h-0 mt-0 overflow-auto"
563-
>
564-
<Card className="flex-1 flex flex-col min-h-0">
565-
<CardContent className="flex-1 overflow-y-auto">
566-
<div className="mx-auto w-full max-w-2xl space-y-8">
567-
{canEdit && (
568-
<div className="space-y-3 pb-8 border-b">
569-
<div>
570-
<h3 className="text-sm font-semibold">
571-
In-Game Player Account
572-
</h3>
573-
<p className="text-xs text-muted-foreground">
574-
Connect this admin account to an existing in-game
575-
player profile.
576-
</p>
577-
</div>
578-
579-
<div className="flex items-center justify-between p-4 rounded-lg border bg-muted/20 gap-4">
580-
<div className="flex items-center gap-3 min-w-0">
581-
<FileUser className="h-5 w-5 text-muted-foreground shrink-0" />
582-
<div className="min-w-0">
583-
<p className="text-xs text-muted-foreground">
584-
Linked Player
585-
</p>
586-
<PlayerCardContent
587-
id={adminData.playerId}
588-
name={adminData.playerName}
589-
/>
590-
</div>
591-
</div>
592-
</div>
593-
</div>
594-
)}
595-
596-
<div className="space-y-4">
597-
<div>
598-
<h3 className="text-sm font-semibold">
599-
External Platform Identifiers
600-
</h3>
601-
<p className="text-xs text-muted-foreground">
602-
Configure third-party IDs linked to this account for
603-
authentication and bot lookups.
604-
</p>
605-
</div>
606-
607-
<IdentifiersForm
608-
cfxId={adminData.cfxId}
609-
discordId={adminData.discordId}
610-
canEdit={canEdit}
611-
onSave={handleIdentiferChange}
612-
/>
613-
</div>
614-
</div>
615-
</CardContent>
616-
</Card>
617-
</TabsContent>
618-
619560
<TabsContent
620561
value="settings"
621562
className="flex-1 flex flex-col min-h-0 mt-0"

0 commit comments

Comments
 (0)