mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: add pretty
This commit is contained in:
14
src/view/model/UserCustom/config.tsx
vendored
14
src/view/model/UserCustom/config.tsx
vendored
@@ -7,7 +7,7 @@ export const modelColumns = () => [
|
||||
fixed: 'left',
|
||||
width: 120,
|
||||
key: 'cmd',
|
||||
render: (v: string) => <Tag color="#2a2a2a">/{v}</Tag>
|
||||
render: (v: string) => <Tag color="#2a2a2a">/{v}</Tag>,
|
||||
},
|
||||
{
|
||||
title: 'Act',
|
||||
@@ -21,7 +21,11 @@ export const modelColumns = () => [
|
||||
key: 'tags',
|
||||
width: 150,
|
||||
render: (v: string[]) => (
|
||||
<span className="chat-prompts-tags">{v?.map(i => <Tag key={i}>{i}</Tag>)}</span>
|
||||
<span className="chat-prompts-tags">
|
||||
{v?.map((i) => (
|
||||
<Tag key={i}>{i}</Tag>
|
||||
))}
|
||||
</span>
|
||||
),
|
||||
},
|
||||
{
|
||||
@@ -39,9 +43,7 @@ export const modelColumns = () => [
|
||||
dataIndex: 'prompt',
|
||||
key: 'prompt',
|
||||
width: 300,
|
||||
render: (v: string) => (
|
||||
<span className="chat-prompts-val">{v}</span>
|
||||
),
|
||||
render: (v: string) => <span className="chat-prompts-val">{v}</span>,
|
||||
},
|
||||
{
|
||||
title: 'Action',
|
||||
@@ -61,5 +63,5 @@ export const modelColumns = () => [
|
||||
</Popconfirm>
|
||||
</Space>
|
||||
),
|
||||
}
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user