diff --git a/client/src/components/Pages/Vote/index.tsx b/client/src/components/Pages/Vote/index.tsx index f5bbe48..ef7a757 100644 --- a/client/src/components/Pages/Vote/index.tsx +++ b/client/src/components/Pages/Vote/index.tsx @@ -25,6 +25,29 @@ class AuthError extends Error { public readonly name: string = "AuthError"; } +const EatAWholeCakeButton: React.FunctionComponent<{ poll: Poll }> = ({ + poll, +}: { + poll: Poll; +}) => { + if (poll.type === "Conditional") { + return ( +