2022-05-16 23:15:22 +00:00
|
|
|
import {
|
|
|
|
ClockIcon,
|
|
|
|
DatabaseIcon,
|
|
|
|
PencilIcon,
|
|
|
|
TrendingUpIcon,
|
2022-06-22 16:35:50 +00:00
|
|
|
UserGroupIcon,
|
2022-05-16 23:15:22 +00:00
|
|
|
} from '@heroicons/react/outline'
|
2022-04-20 03:34:41 +00:00
|
|
|
import { Row } from '../layout/row'
|
2022-05-09 13:04:36 +00:00
|
|
|
import { formatMoney } from 'common/util/format'
|
2022-04-20 03:34:41 +00:00
|
|
|
import { UserLink } from '../user-page'
|
|
|
|
import {
|
|
|
|
Contract,
|
|
|
|
contractMetrics,
|
2022-07-21 05:45:53 +00:00
|
|
|
contractPath,
|
2022-04-20 03:34:41 +00:00
|
|
|
updateContract,
|
2022-05-09 13:04:36 +00:00
|
|
|
} from 'web/lib/firebase/contracts'
|
2022-04-20 03:34:41 +00:00
|
|
|
import dayjs from 'dayjs'
|
|
|
|
import { DateTimeTooltip } from '../datetime-tooltip'
|
2022-05-09 13:04:36 +00:00
|
|
|
import { fromNow } from 'web/lib/util/time'
|
2022-04-20 03:34:41 +00:00
|
|
|
import { Avatar } from '../avatar'
|
|
|
|
import { useState } from 'react'
|
|
|
|
import { ContractInfoDialog } from './contract-info-dialog'
|
2022-05-09 13:04:36 +00:00
|
|
|
import { Bet } from 'common/bet'
|
2022-04-21 06:03:16 +00:00
|
|
|
import NewContractBadge from '../new-contract-badge'
|
2022-06-08 20:27:52 +00:00
|
|
|
import { UserFollowButton } from '../follow-button'
|
2022-06-17 03:52:53 +00:00
|
|
|
import { DAY_MS } from 'common/util/time'
|
2022-07-01 13:47:19 +00:00
|
|
|
import { ShareIconButton } from 'web/components/share-icon-button'
|
|
|
|
import { useUser } from 'web/hooks/use-user'
|
Rich content (#620)
* Add TipTap editor and renderer components
* Change market description editor to rich text
* Type description as JSON, fix string-based logic
- Delete make-predictions.tsx
- Delete feed logic that showed descriptions
* wip Fix API validation
* fix type error
* fix extension import (backend)
In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`
Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *
If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.
* Stop load on fail create market, improve warning
* Refactor editor as hook / fix infinite submit bug
Move state of editor back up to parent
We have to do this later anyways to allow parent to edit
* Add images - display, paste + uploading
* add uploading state of image
* Fix placeholder, misc styling
min height, quote
* Fix appending to description
* code review fixes: rename, refactor, chop carets
* Add hint & upload button on new lines
- bump to Tailwind 3.1 for arbitrary variants
* clean up, run prettier
* rename FileButton to FileUploadButton
* add image extension as functions dependency
2022-07-13 18:58:22 +00:00
|
|
|
import { Editor } from '@tiptap/react'
|
|
|
|
import { exhibitExts } from 'common/util/parse'
|
2022-07-21 05:45:53 +00:00
|
|
|
import { ENV_CONFIG } from 'common/envs/constants'
|
2022-07-22 17:34:10 +00:00
|
|
|
import { Button } from 'web/components/button'
|
|
|
|
import { Modal } from 'web/components/layout/modal'
|
|
|
|
import { Col } from 'web/components/layout/col'
|
|
|
|
import { ContractGroupsList } from 'web/components/groups/contract-groups-list'
|
2022-07-22 22:28:53 +00:00
|
|
|
import { SiteLink } from 'web/components/site-link'
|
|
|
|
import { groupPath } from 'web/lib/firebase/groups'
|
2022-04-20 03:34:41 +00:00
|
|
|
|
2022-06-23 17:12:57 +00:00
|
|
|
export type ShowTime = 'resolve-date' | 'close-date'
|
|
|
|
|
2022-05-24 06:44:16 +00:00
|
|
|
export function MiscDetails(props: {
|
2022-04-20 03:34:41 +00:00
|
|
|
contract: Contract
|
|
|
|
showHotVolume?: boolean
|
2022-06-23 17:12:57 +00:00
|
|
|
showTime?: ShowTime
|
2022-04-20 03:34:41 +00:00
|
|
|
}) {
|
2022-06-23 17:12:57 +00:00
|
|
|
const { contract, showHotVolume, showTime } = props
|
|
|
|
const {
|
|
|
|
volume,
|
|
|
|
volume24Hours,
|
|
|
|
closeTime,
|
|
|
|
isResolved,
|
|
|
|
createdTime,
|
|
|
|
resolutionTime,
|
2022-07-22 22:28:53 +00:00
|
|
|
groupLinks,
|
2022-06-23 17:12:57 +00:00
|
|
|
} = contract
|
2022-07-22 22:28:53 +00:00
|
|
|
|
2022-06-17 03:52:53 +00:00
|
|
|
const isNew = createdTime > Date.now() - DAY_MS && !isResolved
|
2022-04-20 03:34:41 +00:00
|
|
|
|
|
|
|
return (
|
2022-05-24 06:44:16 +00:00
|
|
|
<Row className="items-center gap-3 text-sm text-gray-400">
|
|
|
|
{showHotVolume ? (
|
|
|
|
<Row className="gap-0.5">
|
|
|
|
<TrendingUpIcon className="h-5 w-5" /> {formatMoney(volume24Hours)}
|
|
|
|
</Row>
|
2022-06-23 17:12:57 +00:00
|
|
|
) : showTime === 'close-date' ? (
|
2022-05-24 06:44:16 +00:00
|
|
|
<Row className="gap-0.5">
|
|
|
|
<ClockIcon className="h-5 w-5" />
|
|
|
|
{(closeTime || 0) < Date.now() ? 'Closed' : 'Closes'}{' '}
|
|
|
|
{fromNow(closeTime || 0)}
|
2022-04-20 03:34:41 +00:00
|
|
|
</Row>
|
2022-06-23 17:12:57 +00:00
|
|
|
) : showTime === 'resolve-date' && resolutionTime !== undefined ? (
|
|
|
|
<Row className="gap-0.5">
|
|
|
|
<ClockIcon className="h-5 w-5" />
|
|
|
|
{'Resolved '}
|
|
|
|
{fromNow(resolutionTime || 0)}
|
|
|
|
</Row>
|
2022-06-17 03:52:53 +00:00
|
|
|
) : volume > 0 || !isNew ? (
|
2022-07-23 20:23:47 +00:00
|
|
|
<Row className={'shrink-0'}>{formatMoney(contract.volume)} bet</Row>
|
2022-05-24 06:44:16 +00:00
|
|
|
) : (
|
|
|
|
<NewContractBadge />
|
|
|
|
)}
|
2022-05-24 23:57:34 +00:00
|
|
|
|
2022-07-22 22:28:53 +00:00
|
|
|
{groupLinks && groupLinks.length > 0 && (
|
|
|
|
<SiteLink
|
|
|
|
href={groupPath(groupLinks[0].slug)}
|
|
|
|
className="text-sm text-gray-400"
|
|
|
|
>
|
|
|
|
<Row className={'line-clamp-1 flex-wrap items-center '}>
|
|
|
|
<UserGroupIcon className="mx-1 mb-0.5 inline h-4 w-4 shrink-0" />
|
|
|
|
{groupLinks[0].name}
|
|
|
|
</Row>
|
|
|
|
</SiteLink>
|
2022-05-24 23:57:34 +00:00
|
|
|
)}
|
2022-05-24 06:44:16 +00:00
|
|
|
</Row>
|
|
|
|
)
|
|
|
|
}
|
2022-04-20 03:34:41 +00:00
|
|
|
|
2022-05-24 06:44:16 +00:00
|
|
|
export function AvatarDetails(props: { contract: Contract }) {
|
|
|
|
const { contract } = props
|
|
|
|
const { creatorName, creatorUsername } = contract
|
2022-05-16 23:15:22 +00:00
|
|
|
|
2022-05-24 06:44:16 +00:00
|
|
|
return (
|
2022-05-24 23:39:42 +00:00
|
|
|
<Row className="items-center gap-2 text-sm text-gray-400">
|
2022-05-24 06:44:16 +00:00
|
|
|
<Avatar
|
|
|
|
username={creatorUsername}
|
|
|
|
avatarUrl={contract.creatorAvatarUrl}
|
|
|
|
size={6}
|
|
|
|
/>
|
|
|
|
<UserLink name={creatorName} username={creatorUsername} />
|
|
|
|
</Row>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export function AbbrContractDetails(props: {
|
|
|
|
contract: Contract
|
|
|
|
showHotVolume?: boolean
|
2022-06-23 17:12:57 +00:00
|
|
|
showTime?: ShowTime
|
2022-05-24 06:44:16 +00:00
|
|
|
}) {
|
2022-06-23 17:12:57 +00:00
|
|
|
const { contract, showHotVolume, showTime } = props
|
2022-05-24 06:44:16 +00:00
|
|
|
return (
|
|
|
|
<Row className="items-center justify-between">
|
|
|
|
<AvatarDetails contract={contract} />
|
|
|
|
|
|
|
|
<MiscDetails
|
|
|
|
contract={contract}
|
|
|
|
showHotVolume={showHotVolume}
|
2022-06-23 17:12:57 +00:00
|
|
|
showTime={showTime}
|
2022-05-24 06:44:16 +00:00
|
|
|
/>
|
|
|
|
</Row>
|
2022-04-20 03:34:41 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export function ContractDetails(props: {
|
|
|
|
contract: Contract
|
|
|
|
bets: Bet[]
|
|
|
|
isCreator?: boolean
|
2022-05-17 17:31:19 +00:00
|
|
|
disabled?: boolean
|
2022-04-20 03:34:41 +00:00
|
|
|
}) {
|
2022-05-17 17:31:19 +00:00
|
|
|
const { contract, bets, isCreator, disabled } = props
|
2022-07-22 22:28:53 +00:00
|
|
|
const { closeTime, creatorName, creatorUsername, creatorId, groupLinks } =
|
|
|
|
contract
|
2022-05-24 06:44:16 +00:00
|
|
|
const { volumeLabel, resolvedDate } = contractMetrics(contract)
|
2022-07-01 22:37:30 +00:00
|
|
|
|
2022-07-22 22:28:53 +00:00
|
|
|
const groupToDisplay =
|
|
|
|
groupLinks?.sort((a, b) => a.createdTime - b.createdTime)[0] ?? null
|
2022-07-01 13:47:19 +00:00
|
|
|
const user = useUser()
|
2022-07-22 17:34:10 +00:00
|
|
|
const [open, setOpen] = useState(false)
|
2022-07-01 22:37:30 +00:00
|
|
|
|
2022-04-20 03:34:41 +00:00
|
|
|
return (
|
2022-05-17 17:31:19 +00:00
|
|
|
<Row className="flex-1 flex-wrap items-center gap-x-4 gap-y-2 text-sm text-gray-500">
|
|
|
|
<Row className="items-center gap-2">
|
|
|
|
<Avatar
|
|
|
|
username={creatorUsername}
|
|
|
|
avatarUrl={contract.creatorAvatarUrl}
|
|
|
|
noLink={disabled}
|
|
|
|
size={6}
|
|
|
|
/>
|
|
|
|
{disabled ? (
|
|
|
|
creatorName
|
|
|
|
) : (
|
2022-04-20 03:34:41 +00:00
|
|
|
<UserLink
|
|
|
|
className="whitespace-nowrap"
|
|
|
|
name={creatorName}
|
|
|
|
username={creatorUsername}
|
|
|
|
/>
|
2022-05-17 17:31:19 +00:00
|
|
|
)}
|
2022-06-08 20:27:52 +00:00
|
|
|
{!disabled && <UserFollowButton userId={creatorId} small />}
|
2022-05-17 17:31:19 +00:00
|
|
|
</Row>
|
2022-07-22 17:34:10 +00:00
|
|
|
<Row>
|
|
|
|
<Button
|
|
|
|
size={'xs'}
|
|
|
|
className={'max-w-[200px]'}
|
|
|
|
color={'gray-white'}
|
|
|
|
onClick={() => setOpen(!open)}
|
|
|
|
>
|
|
|
|
<Row>
|
|
|
|
<UserGroupIcon className="mx-1 inline h-5 w-5 shrink-0" />
|
|
|
|
<span className={'line-clamp-1'}>
|
2022-07-22 22:28:53 +00:00
|
|
|
{groupToDisplay ? groupToDisplay.name : 'No group'}
|
2022-07-22 17:34:10 +00:00
|
|
|
</span>
|
|
|
|
</Row>
|
|
|
|
</Button>
|
|
|
|
</Row>
|
|
|
|
<Modal open={open} setOpen={setOpen} size={'md'}>
|
|
|
|
<Col
|
|
|
|
className={
|
|
|
|
'max-h-[70vh] min-h-[20rem] overflow-auto rounded bg-white p-6'
|
|
|
|
}
|
|
|
|
>
|
2022-07-22 22:28:53 +00:00
|
|
|
<ContractGroupsList
|
|
|
|
groupLinks={groupLinks ?? []}
|
|
|
|
contract={contract}
|
|
|
|
user={user}
|
|
|
|
/>
|
2022-07-22 17:34:10 +00:00
|
|
|
</Col>
|
|
|
|
</Modal>
|
2022-04-20 03:34:41 +00:00
|
|
|
|
2022-05-17 17:31:19 +00:00
|
|
|
{(!!closeTime || !!resolvedDate) && (
|
|
|
|
<Row className="items-center gap-1">
|
|
|
|
<ClockIcon className="h-5 w-5" />
|
2022-04-20 03:34:41 +00:00
|
|
|
|
2022-05-17 17:31:19 +00:00
|
|
|
{resolvedDate && contract.resolutionTime ? (
|
|
|
|
<>
|
|
|
|
<DateTimeTooltip
|
|
|
|
text="Market resolved:"
|
|
|
|
time={contract.resolutionTime}
|
|
|
|
>
|
|
|
|
{resolvedDate}
|
|
|
|
</DateTimeTooltip>
|
|
|
|
</>
|
|
|
|
) : null}
|
|
|
|
|
|
|
|
{!resolvedDate && closeTime && (
|
|
|
|
<>
|
|
|
|
<EditableCloseDate
|
|
|
|
closeTime={closeTime}
|
|
|
|
contract={contract}
|
|
|
|
isCreator={isCreator ?? false}
|
|
|
|
/>
|
|
|
|
</>
|
|
|
|
)}
|
2022-04-20 03:34:41 +00:00
|
|
|
</Row>
|
2022-05-17 17:31:19 +00:00
|
|
|
)}
|
2022-06-15 04:31:20 +00:00
|
|
|
|
2022-05-17 17:31:19 +00:00
|
|
|
<Row className="items-center gap-1">
|
|
|
|
<DatabaseIcon className="h-5 w-5" />
|
|
|
|
|
|
|
|
<div className="whitespace-nowrap">{volumeLabel}</div>
|
2022-04-20 03:34:41 +00:00
|
|
|
</Row>
|
2022-07-01 13:47:19 +00:00
|
|
|
<ShareIconButton
|
2022-07-21 05:45:53 +00:00
|
|
|
copyPayload={`https://${ENV_CONFIG.domain}${contractPath(contract)}${
|
|
|
|
user?.username && contract.creatorUsername !== user?.username
|
|
|
|
? '?referrer=' + user?.username
|
|
|
|
: ''
|
|
|
|
}`}
|
2022-07-01 13:47:19 +00:00
|
|
|
toastClassName={'sm:-left-40 -left-24 min-w-[250%]'}
|
|
|
|
/>
|
2022-05-17 17:31:19 +00:00
|
|
|
|
2022-06-15 04:31:20 +00:00
|
|
|
{!disabled && <ContractInfoDialog contract={contract} bets={bets} />}
|
2022-05-17 17:31:19 +00:00
|
|
|
</Row>
|
2022-04-20 03:34:41 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
// String version of the above, to send to the OpenGraph image generator
|
|
|
|
export function contractTextDetails(contract: Contract) {
|
|
|
|
const { closeTime, tags } = contract
|
|
|
|
const { createdDate, resolvedDate, volumeLabel } = contractMetrics(contract)
|
|
|
|
|
|
|
|
const hashtags = tags.map((tag) => `#${tag}`)
|
|
|
|
|
|
|
|
return (
|
|
|
|
`${resolvedDate ? `${createdDate} - ${resolvedDate}` : createdDate}` +
|
|
|
|
(closeTime
|
|
|
|
? ` • ${closeTime > Date.now() ? 'Closes' : 'Closed'} ${dayjs(
|
|
|
|
closeTime
|
|
|
|
).format('MMM D, h:mma')}`
|
|
|
|
: '') +
|
|
|
|
` • ${volumeLabel}` +
|
|
|
|
(hashtags.length > 0 ? ` • ${hashtags.join(' ')}` : '')
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
function EditableCloseDate(props: {
|
|
|
|
closeTime: number
|
|
|
|
contract: Contract
|
|
|
|
isCreator: boolean
|
|
|
|
}) {
|
|
|
|
const { closeTime, contract, isCreator } = props
|
|
|
|
|
|
|
|
const [isEditingCloseTime, setIsEditingCloseTime] = useState(false)
|
|
|
|
const [closeDate, setCloseDate] = useState(
|
2022-05-25 17:54:28 +00:00
|
|
|
closeTime && dayjs(closeTime).format('YYYY-MM-DDTHH:mm')
|
2022-04-20 03:34:41 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const isSameYear = dayjs(closeTime).isSame(dayjs(), 'year')
|
|
|
|
const isSameDay = dayjs(closeTime).isSame(dayjs(), 'day')
|
|
|
|
|
|
|
|
const onSave = () => {
|
|
|
|
const newCloseTime = dayjs(closeDate).valueOf()
|
|
|
|
if (newCloseTime === closeTime) setIsEditingCloseTime(false)
|
|
|
|
else if (newCloseTime > Date.now()) {
|
Rich content (#620)
* Add TipTap editor and renderer components
* Change market description editor to rich text
* Type description as JSON, fix string-based logic
- Delete make-predictions.tsx
- Delete feed logic that showed descriptions
* wip Fix API validation
* fix type error
* fix extension import (backend)
In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`
Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *
If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.
* Stop load on fail create market, improve warning
* Refactor editor as hook / fix infinite submit bug
Move state of editor back up to parent
We have to do this later anyways to allow parent to edit
* Add images - display, paste + uploading
* add uploading state of image
* Fix placeholder, misc styling
min height, quote
* Fix appending to description
* code review fixes: rename, refactor, chop carets
* Add hint & upload button on new lines
- bump to Tailwind 3.1 for arbitrary variants
* clean up, run prettier
* rename FileButton to FileUploadButton
* add image extension as functions dependency
2022-07-13 18:58:22 +00:00
|
|
|
const content = contract.description
|
2022-04-20 03:34:41 +00:00
|
|
|
const formattedCloseDate = dayjs(newCloseTime).format('YYYY-MM-DD h:mm a')
|
Rich content (#620)
* Add TipTap editor and renderer components
* Change market description editor to rich text
* Type description as JSON, fix string-based logic
- Delete make-predictions.tsx
- Delete feed logic that showed descriptions
* wip Fix API validation
* fix type error
* fix extension import (backend)
In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`
Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *
If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.
* Stop load on fail create market, improve warning
* Refactor editor as hook / fix infinite submit bug
Move state of editor back up to parent
We have to do this later anyways to allow parent to edit
* Add images - display, paste + uploading
* add uploading state of image
* Fix placeholder, misc styling
min height, quote
* Fix appending to description
* code review fixes: rename, refactor, chop carets
* Add hint & upload button on new lines
- bump to Tailwind 3.1 for arbitrary variants
* clean up, run prettier
* rename FileButton to FileUploadButton
* add image extension as functions dependency
2022-07-13 18:58:22 +00:00
|
|
|
|
|
|
|
const editor = new Editor({ content, extensions: exhibitExts })
|
|
|
|
editor
|
|
|
|
.chain()
|
|
|
|
.focus('end')
|
|
|
|
.insertContent('<br /><br />')
|
|
|
|
.insertContent(`Close date updated to ${formattedCloseDate}`)
|
|
|
|
.run()
|
2022-04-20 03:34:41 +00:00
|
|
|
|
2022-06-15 04:31:20 +00:00
|
|
|
updateContract(contract.id, {
|
2022-04-20 03:34:41 +00:00
|
|
|
closeTime: newCloseTime,
|
Rich content (#620)
* Add TipTap editor and renderer components
* Change market description editor to rich text
* Type description as JSON, fix string-based logic
- Delete make-predictions.tsx
- Delete feed logic that showed descriptions
* wip Fix API validation
* fix type error
* fix extension import (backend)
In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`
Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *
If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.
* Stop load on fail create market, improve warning
* Refactor editor as hook / fix infinite submit bug
Move state of editor back up to parent
We have to do this later anyways to allow parent to edit
* Add images - display, paste + uploading
* add uploading state of image
* Fix placeholder, misc styling
min height, quote
* Fix appending to description
* code review fixes: rename, refactor, chop carets
* Add hint & upload button on new lines
- bump to Tailwind 3.1 for arbitrary variants
* clean up, run prettier
* rename FileButton to FileUploadButton
* add image extension as functions dependency
2022-07-13 18:58:22 +00:00
|
|
|
description: editor.getJSON(),
|
2022-06-15 04:31:20 +00:00
|
|
|
})
|
|
|
|
|
2022-04-20 03:34:41 +00:00
|
|
|
setIsEditingCloseTime(false)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
{isEditingCloseTime ? (
|
|
|
|
<div className="form-control mr-1 items-start">
|
|
|
|
<input
|
|
|
|
type="datetime-local"
|
|
|
|
className="input input-bordered"
|
|
|
|
onClick={(e) => e.stopPropagation()}
|
|
|
|
onChange={(e) => setCloseDate(e.target.value || '')}
|
|
|
|
min={Date.now()}
|
|
|
|
value={closeDate}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
) : (
|
|
|
|
<DateTimeTooltip
|
|
|
|
text={closeTime > Date.now() ? 'Trading ends:' : 'Trading ended:'}
|
|
|
|
time={closeTime}
|
|
|
|
>
|
|
|
|
{isSameYear
|
|
|
|
? dayjs(closeTime).format('MMM D')
|
|
|
|
: dayjs(closeTime).format('MMM D, YYYY')}
|
|
|
|
{isSameDay && <> ({fromNow(closeTime)})</>}
|
|
|
|
</DateTimeTooltip>
|
|
|
|
)}
|
|
|
|
|
|
|
|
{isCreator &&
|
|
|
|
(isEditingCloseTime ? (
|
|
|
|
<button className="btn btn-xs" onClick={onSave}>
|
|
|
|
Done
|
|
|
|
</button>
|
|
|
|
) : (
|
2022-07-22 17:34:10 +00:00
|
|
|
<Button
|
|
|
|
size={'xs'}
|
|
|
|
color={'gray-white'}
|
2022-04-20 03:34:41 +00:00
|
|
|
onClick={() => setIsEditingCloseTime(true)}
|
|
|
|
>
|
2022-07-22 17:34:10 +00:00
|
|
|
<PencilIcon className="mr-0.5 inline h-4 w-4" /> Edit
|
|
|
|
</Button>
|
2022-04-20 03:34:41 +00:00
|
|
|
))}
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|