Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
"use client";
import { BrandStyle } from "@/features/branding/components/brand-style";
import { usePoll } from "@/features/poll/client";
export function PollBrandingFromContext() {
const poll = usePoll();
if (!poll.space?.showBranding || !poll.space.primaryColor) {
return null;
}
return <BrandStyle primaryColor={poll.space.primaryColor} />;
}