Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
💄 Drop the redundant "All day" label from desktop poll options (#3388)
Luke Vella2f6be7c30556
diff --git a/apps/web/src/features/poll/components/desktop-poll/poll-header.tsx b/apps/web/src/features/poll/components/desktop-poll/poll-header.tsxindex 9e634957c..c24c85d2b 100644--- a/apps/web/src/features/poll/components/desktop-poll/poll-header.tsx+++ b/apps/web/src/features/poll/components/desktop-poll/poll-header.tsx@@ -4,7 +4,6 @@ import { ClockIcon } from "lucide-react";import type * as React from "react";import { useOptions } from "@/features/poll/components/poll-context";import { ConnectedScoreSummary } from "@/features/poll/components/score-summary";-import { Trans } from "@/i18n/client";const TimeRange: React.FunctionComponent<{start: string;@@ -157,11 +156,7 @@ const PollHeader = () => {end={option.endTime}duration={option.duration}/>- ) : (- <p className="whitespace-nowrap font-normal text-muted-foreground text-xs">- <Trans i18nKey="allDay" defaults="All day" />- </p>- )}+ ) : null}<ConnectedScoreSummary optionId={option.optionId} /></div></th>