Skip to content

Commit

Permalink
Change in component
Browse files Browse the repository at this point in the history
  • Loading branch information
pallavimshr committed Jun 10, 2024
1 parent 6a3649c commit c1db2e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions studio/src/components/List/QuickEdit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Form, DatePicker, Button, Space, Select } from 'antd';
import { Form, DatePicker, Button, Space, Select, Typography } from 'antd';
import React from 'react';
import { maker } from '../../utils/sluger';
import Selector from '../Selector';
Expand Down Expand Up @@ -96,7 +96,9 @@ function QuickEdit({ data, setID, slug, page = false, createdAt, onQuickEditUpda
<DatePicker />
</Form.Item>
<Form.Item label="Created Date">
<span>{createdAt ? dayjs(createdAt).format('YYYY-MM-DD') : 'N/A'}</span>
<Typography.Text>
{createdAt ? dayjs(createdAt).format('YYYY-MM-DD') : 'N/A'}
</Typography.Text>
</Form.Item>

{slug === 'fact-check' ? (
Expand Down

0 comments on commit c1db2e5

Please sign in to comment.