From 0350ef8c0895bd90ea0a2b7befeb55162da03006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cspicecat=E2=80=9D?= Date: Thu, 18 Aug 2022 17:02:02 -0400 Subject: [PATCH] fix search initalvalues --- client/src/components/ListQuestion.jsx | 6 ++++-- client/src/components/PaginatedList.jsx | 2 +- client/src/controllers/FormControllers/FormController.js | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/client/src/components/ListQuestion.jsx b/client/src/components/ListQuestion.jsx index 9fbf637..3ae30a0 100644 --- a/client/src/components/ListQuestion.jsx +++ b/client/src/components/ListQuestion.jsx @@ -11,6 +11,7 @@ export default function ListQuestion({ creator, downvotes, status, + tags, text, title, upvotes, @@ -19,17 +20,18 @@ export default function ListQuestion({ }) { const sm = useMediaQuery((theme) => theme.breakpoints.only('sm')); const md = useMediaQuery((theme) => theme.breakpoints.only('md')); + console.log(123123, tags) return ( - {sm || md ? : null} + {sm || md ? : null} - {sm || md ? null: } + {sm || md ? null : } ))} {count > 1 && ( - + { setContent(''); - + }, [setContent]); const handleChange = (e) => {