fix(washing): remove undefined useResponsive call from WashingPlanCard

The useResponsive import was removed but the function call remained,
causing a runtime error. The isMobile variable was unused in this
component.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Chever John 2026-07-07 21:36:48 +08:00
parent 6b835b933c
commit 986e7d52f1
No known key found for this signature in database
GPG Key ID: 2894D52ED1211DF0

View File

@ -10,7 +10,6 @@ interface WashingPlanCardProps {
export function WashingPlanCard({ plan }: WashingPlanCardProps) { export function WashingPlanCard({ plan }: WashingPlanCardProps) {
const [expanded, setExpanded] = useState(false); const [expanded, setExpanded] = useState(false);
const { isMobile } = useResponsive();
const status = washingStatusMap[plan.status] || washingStatusMap.pending; const status = washingStatusMap[plan.status] || washingStatusMap.pending;
const progress = plan.status === 'completed' ? 100 const progress = plan.status === 'completed' ? 100