fix(GRO-286): remove unused useCallback import and eslint-disable
- ReportCards.tsx: remove unused useCallback from imports - AccountSettings.tsx: remove unused eslint-disable-next-line directive Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -270,7 +270,6 @@ function ManagePets({ sessionId, readOnly }: { sessionId: string | null; readOnl
|
|||||||
<PetForm
|
<PetForm
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
pet={(editingPet ?? undefined) as any}
|
pet={(editingPet ?? undefined) as any}
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
||||||
onSave={() => { setEditingPetId(null); setShowAddForm(false); }}
|
onSave={() => { setEditingPetId(null); setShowAddForm(false); }}
|
||||||
onCancel={() => { setEditingPetId(null); setShowAddForm(false); }}
|
onCancel={() => { setEditingPetId(null); setShowAddForm(false); }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { useState, useEffect, useCallback, useRef } from "react";
|
import { useState, useEffect, useRef } from "react";
|
||||||
import { FileText, Share2, Calendar, Smile, Meh, ChevronRight, Loader2 } from "lucide-react";
|
import { FileText, Share2, Calendar, Smile, Meh, ChevronRight, Loader2 } from "lucide-react";
|
||||||
|
|
||||||
type MoodKey = "calm" | "cooperative" | "anxious" | "wiggly";
|
type MoodKey = "calm" | "cooperative" | "anxious" | "wiggly";
|
||||||
|
|||||||
Reference in New Issue
Block a user