import { useState } from 'react' import { Modal } from '@janhq/joi' import { atom, useAtom } from 'jotai' import { twMerge } from 'tailwind-merge' import ServerLogs from '@/containers/ServerLogs' import AppLogs from './AppLogs' import DeviceSpecs from './DeviceSpecs' export const modalTroubleShootingAtom = atom(false) const logOption = ['App Logs', 'Server Logs', 'Device Specs'] const ModalTroubleShooting = () => { const [modalTroubleShooting, setModalTroubleShooting] = useAtom( modalTroubleShootingAtom ) const [isTabActive, setIsTabActivbe] = useState(0) return (

{`We're here to help! Your report is crucial for debugging and shaping the next version. Here’s how you can report & get further support:`}

Step 1

Follow our  troubleshooting guide  for step-by-step solutions.

Step 2

{`If you can't find what you need in our troubleshooting guide, feel free reach out to us for extra help:`}

  • Copy your 2-hour logs & device specifications provided below.{' '}

  • Go to our  Discord  & send it to #🆘|get-help channel for further support.

    {logOption.map((name, i) => { return (
  • setIsTabActivbe(i)} > {name}
  • ) })}
} /> ) } export default ModalTroubleShooting