"use client"; import { useEffect, useState } from "react"; import { X, ExternalLink, AlertTriangle } from "lucide-react"; export default function PageRequirementModal({ hasAccounts }: { hasAccounts: boolean }) { const [isOpen, setIsOpen] = useState(false); useEffect(() => { // Show only if NO accounts are connected AND it's the first time seeing this help (or strictly only if needed) const hasSeenModal = localStorage.getItem("ripple_page_help_seen"); // ONLY show if missing accounts. If they have accounts, this requirement is met, so don't show. if (!hasAccounts && !hasSeenModal) { setIsOpen(true); } }, [hasAccounts]); const handleDismiss = () => { setIsOpen(false); localStorage.setItem("ripple_page_help_seen", "true"); }; if (!isOpen) return null; return (

Important Requirement

To connect your Instagram, Meta requires it to be linked to a Facebook Page.

If you don't have one, please create a simple blank Page on Facebook and link your Instagram to it. You don't need to use the Page for anything else.

  • ✓ Only takes 30 seconds
  • ✓ Enables Auto-Posting & Analytics
Create Page
); }