Skip to content

Commit

Permalink
DBC22-1329: props no longer stringified
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-oxd committed Dec 14, 2023
1 parent 8f8a40d commit b9ffb08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/pages/CameraDetailsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default function CameraDetailsPage() {
};

const mapViewRoute = () =>{
navigate("/", { state: JSON.stringify(camera)})
navigate("/", { state: camera })
}

// ReplayTheDay
Expand Down Expand Up @@ -363,7 +363,7 @@ export default function CameraDetailsPage() {
renderLeftNav={customLeftNav}
renderPlayPauseButton={customPlayPause}
renderRightNav={customRightNav}
onSlide={(index) => handleImageSlide(index)}
onSlide={(index) => handleImageSlide(index)}
onPlay={play}
infinite={false} />
)}
Expand Down

0 comments on commit b9ffb08

Please sign in to comment.