Files
zellyy-finance/src/archive/components/supabase/TroubleshootingTips.tsx
hansoo 9851627ff1 feat: Add CI/CD pipeline and code quality improvements
- Add GitHub Actions workflow for automated CI/CD
- Configure Node.js 18.x and 20.x matrix testing
- Add TypeScript type checking step
- Add ESLint code quality checks with enhanced rules
- Add Prettier formatting verification
- Add production build validation
- Upload build artifacts for deployment
- Set up automated testing on push/PR
- Replace console.log with environment-aware logger
- Add pre-commit hooks for code quality
- Exclude archive folder from linting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 15:27:54 +09:00

31 lines
1.1 KiB
TypeScript

import React from 'react';
import { HelpCircle } from "lucide-react";
import { TestResults } from '@/lib/supabase/tests/types';
interface TroubleshootingTipsProps {
testResults: TestResults;
}
const TroubleshootingTips: React.FC<TroubleshootingTipsProps> = ({ testResults }) => {
if (!(!testResults.restApi && testResults.auth)) {return null;}
return (
<div className="bg-yellow-50 border border-yellow-200 rounded p-2 mt-2">
<div className="flex items-start gap-1">
<HelpCircle className="h-4 w-4 text-yellow-600 mt-0.5 flex-shrink-0" />
<div>
<p className="text-xs text-yellow-800 font-medium"> API/DB </p>
<ul className="list-disc text-xs text-yellow-700 pl-4 mt-1">
<li> CORS </li>
<li>Supabase CORS </li>
<li> </li>
</ul>
</div>
</div>
</div>
);
};
export default TroubleshootingTips;