From 2f901204ac5ae4406d322c4531a7784ef889410c Mon Sep 17 00:00:00 2001 From: Alexandru Istrate <38143225+AlexandruIstrate@users.noreply.github.com> Date: Sun, 28 Jan 2024 01:18:09 +0200 Subject: [PATCH] Add debug logging --- salary-calc/src/App.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/salary-calc/src/App.js b/salary-calc/src/App.js index ff50691..79d19a9 100644 --- a/salary-calc/src/App.js +++ b/salary-calc/src/App.js @@ -481,6 +481,9 @@ function App() { } const updateStateAndURL = () => { + // Do some logging + console.log(location); + // Get the search parameters const queryParams = new URLSearchParams(location.search);