Skip to content

Commit 23df002

Browse files
CopilotCodeByBryant
andcommitted
Add missing useState declarations for genealogy tab state variables
Co-authored-by: CodeByBryant <191651927+CodeByBryant@users.noreply.github.com>
1 parent a447f00 commit 23df002

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/renderer/components/FamilyTreePanel.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ export const FamilyTreePanel: React.FC<FamilyTreePanelProps> = ({
4949
const [tooltipPosition, setTooltipPosition] = useState({ x: 0, y: 0 })
5050
const [lastTouchDistance, setLastTouchDistance] = useState<number | null>(null)
5151
const [touchStartPos, setTouchStartPos] = useState<{ x: number; y: number } | null>(null)
52+
const [animationFrame, setAnimationFrame] = useState(0)
53+
const [showDeadAgents, setShowDeadAgents] = useState(true)
54+
const [filterToLineage, setFilterToLineage] = useState(false)
55+
const [showStats, setShowStats] = useState(false)
5256

5357
useEffect(() => {
5458
setNodes(new Map())

0 commit comments

Comments
 (0)