Skip to content

Commit

Permalink
Fix: Never Have I Ever Button Interactivity (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanPlayz0 authored Jan 5, 2025
1 parent 0ec54bd commit a415698
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions components/Embeds/NeverHaveIEverEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const NeverHaveIEverEmbed: FC<MainProps> = ({ initialQuestion }) => {

return (
<DiscordMessages
lightTheme={theme === 'light' ? true : false}
lightTheme={theme === 'light'}
className="overflow-x-hidden rounded-lg text-left shadow"
>
<DiscordMessage
Expand Down Expand Up @@ -76,8 +76,19 @@ const NeverHaveIEverEmbed: FC<MainProps> = ({ initialQuestion }) => {
</DiscordEmbed>
<DiscordAttachments slot="components">
<DiscordActionRow>
<DiscordButton type="secondary">Results</DiscordButton>
<DiscordButton type="primary">
<DiscordButton
type="secondary"
onClick={() => setMessageType('results')}
>
Results
</DiscordButton>
<DiscordButton
type="primary"
onClick={() => {
setHaveDone(true)
setMessageType('vote')
}}
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 36 36"
Expand Down

0 comments on commit a415698

Please sign in to comment.