Skip to content

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

💄 Make Save button more obvious

Luke Vella0b6883c31668
diff --git a/apps/web/src/components/poll/desktop-poll/participant-row-form.tsx b/apps/web/src/components/poll/desktop-poll/participant-row-form.tsx
index 3178edcdd..63dc5ab64 100644
--- a/apps/web/src/components/poll/desktop-poll/participant-row-form.tsx
+++ b/apps/web/src/components/poll/desktop-poll/participant-row-form.tsx
@@ -7,7 +7,7 @@ import {
TooltipPortal,
TooltipTrigger,
} from "@rallly/ui/tooltip";
-import { CheckIcon, UndoIcon } from "lucide-react";
+import { UndoIcon } from "lucide-react";
import { useTranslation } from "next-i18next";
import * as React from "react";
import { Controller } from "react-hook-form";
@@ -84,25 +84,15 @@ const ParticipantRowForm = ({
</TooltipContent>
</TooltipPortal>
</Tooltip>
- <Tooltip>
- <TooltipTrigger asChild>
- <Button
- loading={form.formState.isSubmitting}
- size="sm"
- form="voting-form"
- type="submit"
- >
- <Icon>
- <CheckIcon />
- </Icon>
- </Button>
- </TooltipTrigger>
- <TooltipPortal>
- <TooltipContent>
- <Trans i18nKey="save" />
- </TooltipContent>
- </TooltipPortal>
- </Tooltip>
+ <Button
+ variant="primary"
+ loading={form.formState.isSubmitting}
+ size="sm"
+ form="voting-form"
+ type="submit"
+ >
+ <Trans i18nKey="save" />
+ </Button>
</div>
) : null}
</div>