diff --git a/web/components/answers/answers-panel.tsx b/web/components/answers/answers-panel.tsx
index 5811403f..e43305bb 100644
--- a/web/components/answers/answers-panel.tsx
+++ b/web/components/answers/answers-panel.tsx
@@ -23,6 +23,7 @@ import { Avatar } from 'web/components/avatar'
import { Linkify } from 'web/components/linkify'
import { BuyButton } from 'web/components/yes-no-selector'
import { UserLink } from 'web/components/user-link'
+import { Button } from 'web/components/button'
export function AnswersPanel(props: {
contract: FreeResponseContract | MultipleChoiceContract
@@ -30,13 +31,14 @@ export function AnswersPanel(props: {
const { contract } = props
const { creatorId, resolution, resolutions, totalBets, outcomeType } =
contract
+ const [showAllAnswers, setShowAllAnswers] = useState(false)
const answers = useAnswers(contract.id) ?? contract.answers
const [winningAnswers, losingAnswers] = partition(
- answers.filter(
- (answer) =>
- (answer.id !== '0' || outcomeType === 'MULTIPLE_CHOICE') &&
- totalBets[answer.id] > 0.000000001
+ answers.filter((answer) =>
+ (answer.id !== '0' || outcomeType === 'MULTIPLE_CHOICE') && showAllAnswers
+ ? true
+ : totalBets[answer.id] > 0
),
(answer) =>
answer.id === resolution || (resolutions && resolutions[answer.id])
@@ -127,6 +129,17 @@ export function AnswersPanel(props: {
))}
+