Remove link create a market in placeholder
This commit is contained in:
parent
53a6748c6d
commit
f75dc0200d
|
@ -33,14 +33,8 @@ export function ContractsGrid(props: {
|
||||||
|
|
||||||
if (contracts.length === 0) {
|
if (contracts.length === 0) {
|
||||||
return (
|
return (
|
||||||
<p className="text-gray-500 mx-4">
|
<p className="text-gray-500 mx-2">
|
||||||
No markets found. Would you like to{' '}
|
No markets found. Why not create one?
|
||||||
<Link href="/create">
|
|
||||||
<a className="text-green-500 hover:underline hover:decoration-2">
|
|
||||||
create one
|
|
||||||
</a>
|
|
||||||
</Link>
|
|
||||||
?
|
|
||||||
</p>
|
</p>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,7 @@ export default function FeedCreate(props: {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<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()}
|
onClick={() => inputRef.current?.focus()}
|
||||||
>
|
>
|
||||||
<div className="relative flex items-start space-x-3">
|
<div className="relative flex items-start space-x-3">
|
||||||
|
|
|
@ -222,7 +222,7 @@ export default function FoldPage(props: {
|
||||||
<Col className="flex-1">
|
<Col className="flex-1">
|
||||||
{user !== null && (
|
{user !== null && (
|
||||||
<FeedCreate
|
<FeedCreate
|
||||||
className={clsx('border-b-2', page !== 'activity' && 'hidden')}
|
className={clsx(page !== 'activity' && 'hidden')}
|
||||||
user={user}
|
user={user}
|
||||||
tag={toCamelCase(fold.name)}
|
tag={toCamelCase(fold.name)}
|
||||||
placeholder={`Type your question about ${fold.name}`}
|
placeholder={`Type your question about ${fold.name}`}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user