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:
parent
6b835b933c
commit
986e7d52f1
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user