Don't focus feed create unless there's no question yet
This commit is contained in:
parent
836c87b371
commit
f04d66d5c8
|
@ -82,7 +82,7 @@ export default function FeedCreate(props: {
|
|||
return (
|
||||
<div
|
||||
className={clsx('w-full bg-white p-4 border-b-2 mt-2', className)}
|
||||
onClick={() => inputRef.current?.focus()}
|
||||
onClick={() => !question && inputRef.current?.focus()}
|
||||
>
|
||||
<div className="relative flex items-start space-x-3">
|
||||
<Avatar username={user?.username} avatarUrl={user?.avatarUrl} noLink />
|
||||
|
|
|
@ -236,7 +236,7 @@ export default function FoldPage(props: {
|
|||
contractComments={activeContractComments}
|
||||
/>
|
||||
{activeContracts.length === 0 && (
|
||||
<div className="text-gray-500 mt-4">
|
||||
<div className="text-gray-500 mt-4 mx-2 lg:mx-0">
|
||||
No activity from matching markets.{' '}
|
||||
{isCurator && 'Try editing to add more tags!'}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user