Skip to content

Commit

Permalink
revert default toggles disabled in debugging step
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourpeas committed Jun 15, 2024
1 parent 9e75bfc commit 2926d80
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/CentileChart/CentileChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,8 @@ function CentileChart({
}: CentileChartProps) {
const [userDomains, setUserDomains] = useState(null);

const [storedChildMeasurements, setStoredChildMeasurements] = useState(childMeasurements)
const { defaultShowCorrected, defaultShowChronological, showToggle } = { defaultShowCorrected: true, defaultShowChronological: false, showToggle: true };
// const { defaultShowCorrected, defaultShowChronological, showToggle } = defaultToggles(childMeasurements);
const [storedChildMeasurements, setStoredChildMeasurements] = useState(childMeasurements);
const { defaultShowCorrected, defaultShowChronological, showToggle } = defaultToggles(childMeasurements);
const [showChronologicalAge, setShowChronologicalAge] = useState(defaultShowChronological);
const [showCorrectedAge, setShowCorrectedAge] = useState(defaultShowCorrected);
const chartRef=useRef<any>();
Expand Down

0 comments on commit 2926d80

Please sign in to comment.