'use client'; import Image from 'next/image'; import { toast } from 'sonner'; import { Dialog, DialogContent } from '@/components/ui/dialog'; import { useProModal } from '@/hooks/use-pro-modal'; import { Button } from '@/components/ui/button'; import { useAction } from '@/hooks/use-action'; import { stripeRedirect } from '@/actions/stripe-redirect'; export const ProModal = () => { const proModal = useProModal(); const { execute, isLoading } = useAction(stripeRedirect, { onSuccess: (data) => { window.location.href = data; }, onError: (error) => { toast.error(error); }, }); const onClick = () => { execute({}); }; return (
hero

Upgrade to Tasko Pro Today!

Explore the best of Tasko

  • Unlimited boards
  • Advanced Checklists (Coming Soon)
  • Admin and Security Features (Coming Soon)
  • And More to Come Soon!
); };