Noted during review of #179 (review).
ChartView parses the dataset id out of window.location.pathname rather than receiving it as a prop from its parent (MainDatasetView), which already has the id via useParams(). The pathname read bypasses React Router entirely and quietly assumes the route shape stays /dataset/:datasetId.
Pass the dataset id down as a prop (or read it via useParams inside ChartView).
🤖 Generated with Claude Code
Noted during review of #179 (review).
ChartView parses the dataset id out of
window.location.pathnamerather than receiving it as a prop from its parent (MainDatasetView), which already has the id viauseParams(). The pathname read bypasses React Router entirely and quietly assumes the route shape stays/dataset/:datasetId.Pass the dataset id down as a prop (or read it via
useParamsinside ChartView).🤖 Generated with Claude Code