import React, { useState } from "react";
const TroubleshootingGuide = ({ generatedDataLink, onDownload }) => {
const [isExpanded, setIsExpanded] = useState(false);
return (
{isExpanded && (
🛠️ Common Issues and Solutions
📱 Preview not working?
-
This is normal! Browser security prevents previewing some files
- Your data has been generated successfully
- Click the download button to get your file
💾 Download not working?
- Check if your browser blocked popups
-
Try right-clicking the download button and select "Open in new
tab"
- Copy the link and paste it in a new browser tab
🔗 Direct download link:
{generatedDataLink}
❓ Still having issues?
- Try using a different browser (Chrome, Firefox, Safari)
- Disable browser extensions temporarily
- Check if your antivirus is blocking downloads
- Contact support if problems persist
)}
);
};
export default TroubleshootingGuide;