Skip to content

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

359 B
Raw Blame
"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} />;
}