import { For, Show, createSignal } from 'solid-js'; import { troubleshootingData } from '@util/help-data'; export default function Troubleshooting() { const [openIndex, setOpenIndex] = createSignal(null); const { issues: categories } = troubleshootingData; const toggleItem = (catIndex, issueIndex) => { const key = `${catIndex}-${issueIndex}`; setOpenIndex(openIndex() === key ? null : key); }; return (
{/* Troubleshooting Guide */}

Common Issues & Solutions

Click an issue to see causes and fixes

{(category, catIndex) => (

{category.icon} {category.title}

{(item, issueIndex) => { const key = `${catIndex()}-${issueIndex()}`; const isOpen = () => openIndex() === key; return (
{/* Causes */}
Possible Causes
    {(cause) => (
  • • {cause}
  • )}
{/* Solutions */}
Solutions
    {(solution, idx) => (
  • {idx() + 1} {solution}
  • )}
); }}
)}
{/* Still need help */}
💡

Still having issues?

Check browser console for errors, try disabling other plugins one by one, or contact support with details.

); }