|
|
|
@ -370,6 +370,7 @@ export default function QuestionsHomePage() {
|
|
|
|
|
console.log(value);
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
<div className="flex flex-col gap-4 pb-4">
|
|
|
|
|
{(questions ?? []).map((question) => (
|
|
|
|
|
<QuestionOverviewCard
|
|
|
|
|
key={question.id}
|
|
|
|
@ -390,6 +391,7 @@ export default function QuestionsHomePage() {
|
|
|
|
|
type={question.type}
|
|
|
|
|
upvoteCount={question.numVotes}
|
|
|
|
|
onReceivedSubmit={(data) => {
|
|
|
|
|
// eslint-disable-next-line no-console
|
|
|
|
|
console.log(data);
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
@ -402,6 +404,7 @@ export default function QuestionsHomePage() {
|
|
|
|
|
)}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
<aside className="hidden w-[300px] overflow-y-auto border-l bg-white py-4 lg:block">
|
|
|
|
|
<h2 className="px-4 text-xl font-semibold">Filter by</h2>
|
|
|
|
|