mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-31 01:36:23 +02:00
✨ Allow duplicating a poll (#804)
This commit is contained in:
parent
f68579eef2
commit
996743caaf
27 changed files with 699 additions and 224 deletions
|
@ -1,6 +1,5 @@
|
|||
import { EyeIcon, MessageCircleIcon, VoteIcon } from "@rallly/icons";
|
||||
import { cn } from "@rallly/ui";
|
||||
import { Badge } from "@rallly/ui/badge";
|
||||
import {
|
||||
Card,
|
||||
CardContent,
|
||||
|
@ -16,6 +15,7 @@ import React from "react";
|
|||
import { useFormContext } from "react-hook-form";
|
||||
import { Trans } from "react-i18next";
|
||||
|
||||
import { ProBadge } from "@/components/pro-badge";
|
||||
import { usePlan } from "@/contexts/plan";
|
||||
|
||||
export type PollSettingsFormData = {
|
||||
|
@ -58,9 +58,7 @@ export const PollSettingsForm = ({ children }: React.PropsWithChildren) => {
|
|||
<CardTitle>
|
||||
<Trans i18nKey="settings" />
|
||||
</CardTitle>
|
||||
<Badge>
|
||||
<Trans i18nKey="planPro" />
|
||||
</Badge>
|
||||
<ProBadge />
|
||||
</div>
|
||||
<CardDescription>
|
||||
<Trans
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue