import { useState } from "react"; import { IoHelpCircle } from "react-icons/io5"; import HelpModal from "./help-modal"; import SettingsSection from "../settings-section"; import useSession from "~/features/core/hooks/use-session"; export default function TwilioConnect() { const { twilioAccount } = useSession(); const [isHelpModalOpen, setIsHelpModalOpen] = useState(false); return ( <>
Shellphone needs to connect to your Twilio account to securely use your phone numbers.
{twilioAccount === null ? ( Connect Twilio account ) : (

✓ Your Twilio account is connected to Shellphone.

)}
setIsHelpModalOpen(false)} isHelpModalOpen={isHelpModalOpen} /> ); }