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 { currentOrganization } = useSession(); const [isHelpModalOpen, setIsHelpModalOpen] = useState(false); return ( <> setIsHelpModalOpen(true)} className="absolute top-2 right-2"> Shellphone needs to connect to your Twilio account to securely use your phone numbers. {currentOrganization.twilioAccountSid === null ? ( Connect Twilio account ) : ( ✓ Your Twilio account is connected to Shellphone. )} setIsHelpModalOpen(false)} isHelpModalOpen={isHelpModalOpen} /> > ); }
✓ Your Twilio account is connected to Shellphone.