From f04d66d5c85bb6e481c546390d5aa645674c2204 Mon Sep 17 00:00:00 2001 From: jahooma Date: Fri, 28 Jan 2022 13:23:44 -0600 Subject: [PATCH] Don't focus feed create unless there's no question yet --- web/components/feed-create.tsx | 2 +- web/pages/fold/[...slugs]/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/feed-create.tsx b/web/components/feed-create.tsx index 6b3065b0..31bce74b 100644 --- a/web/components/feed-create.tsx +++ b/web/components/feed-create.tsx @@ -82,7 +82,7 @@ export default function FeedCreate(props: { return (
inputRef.current?.focus()} + onClick={() => !question && inputRef.current?.focus()} >
diff --git a/web/pages/fold/[...slugs]/index.tsx b/web/pages/fold/[...slugs]/index.tsx index 8ddc4bca..9ada733d 100644 --- a/web/pages/fold/[...slugs]/index.tsx +++ b/web/pages/fold/[...slugs]/index.tsx @@ -236,7 +236,7 @@ export default function FoldPage(props: { contractComments={activeContractComments} /> {activeContracts.length === 0 && ( -
+
No activity from matching markets.{' '} {isCurator && 'Try editing to add more tags!'}