This commit is contained in:
@@ -5,7 +5,7 @@ import { useCallback, useEffect, useState } from 'react';
|
||||
import { history, useParams } from '@umijs/max';
|
||||
import { Alert, App, Avatar, Button, Card, Descriptions, Flex, Space, Tag, Typography } from 'antd';
|
||||
import { creatorAction, getOne } from '@/services/api';
|
||||
import { conflictMessage, dateTime, platformLabel } from '@/utils/helpers';
|
||||
import { conflictMessage, dateTime } from '@/utils/helpers';
|
||||
import { usePageActions } from '@/components/PageActions';
|
||||
import WorksGallery from '@/components/creator/WorksGallery';
|
||||
|
||||
@@ -126,14 +126,11 @@ export default function Page() {
|
||||
</Avatar>
|
||||
<Flex vertical gap={4} style={{ flex: 1, minWidth: 260 }}>
|
||||
<Flex align="center" gap={8} wrap="wrap">
|
||||
<Typography.Title level={4} style={{ marginBottom: 0 }}>
|
||||
<Typography.Title level={4} style={{ margin: 0 }}>
|
||||
{competitor.nickname || competitor.platform_account_key}
|
||||
</Typography.Title>
|
||||
<Tag color={syncMeta.color}>{syncMeta.label}</Tag>
|
||||
</Flex>
|
||||
<Typography.Text type="secondary">
|
||||
{competitor.unique_id || competitor.platform_account_key} · {platformLabel(competitor.platform)}
|
||||
</Typography.Text>
|
||||
<Descriptions
|
||||
column={{ xs: 1, sm: 2 }}
|
||||
size="small"
|
||||
|
||||
Reference in New Issue
Block a user