Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Use ghost variant for the new-participant modal cancel button (#2922)

Luke Vella759bc455b7ce
diff --git a/apps/web/src/features/poll/components/new-participant-modal.tsx b/apps/web/src/features/poll/components/new-participant-modal.tsx
index f85a762e1..02f503e0e 100644
--- a/apps/web/src/features/poll/components/new-participant-modal.tsx
+++ b/apps/web/src/features/poll/components/new-participant-modal.tsx
@@ -415,7 +415,7 @@ export const NewParticipantForm = (props: NewParticipantModalProps) => {
</form>
</Form>
<DialogFooter>
- <Button type="button" onClick={props.onCancel}>
+ <Button type="button" variant="ghost" onClick={props.onCancel}>
{t("back")}
</Button>
<Button