Remove link create a market in placeholder

This commit is contained in:
jahooma 2022-01-28 12:54:15 -06:00
parent 53a6748c6d
commit f75dc0200d
3 changed files with 4 additions and 10 deletions

View File

@ -33,14 +33,8 @@ export function ContractsGrid(props: {
if (contracts.length === 0) {
return (
<p className="text-gray-500 mx-4">
No markets found. Would you like to{' '}
<Link href="/create">
<a className="text-green-500 hover:underline hover:decoration-2">
create one
</a>
</Link>
?
<p className="text-gray-500 mx-2">
No markets found. Why not create one?
</p>
)
}

View File

@ -81,7 +81,7 @@ export default function FeedCreate(props: {
return (
<div
className={clsx('w-full bg-white p-4', className)}
className={clsx('w-full bg-white p-4 border-b-2 mt-2', className)}
onClick={() => inputRef.current?.focus()}
>
<div className="relative flex items-start space-x-3">

View File

@ -222,7 +222,7 @@ export default function FoldPage(props: {
<Col className="flex-1">
{user !== null && (
<FeedCreate
className={clsx('border-b-2', page !== 'activity' && 'hidden')}
className={clsx(page !== 'activity' && 'hidden')}
user={user}
tag={toCamelCase(fold.name)}
placeholder={`Type your question about ${fold.name}`}