Skip to content

Commit

Permalink
fix: [SigNozGH-3790]: timerange not working for different users
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantgupta25 committed Dec 8, 2023
1 parent 704b495 commit 3818ff9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/src/container/TopNav/DateTimeSelection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ function DateTimeSelection({
}
};

console.log(location.pathname);

// this is triggred when we change the routes and based on that we are changing the default options
useEffect(() => {
const metricsTimeDuration = getLocalStorageKey(
Expand All @@ -241,8 +239,6 @@ function DateTimeSelection({
const currentRoute = location.pathname;
const time = getDefaultTime(currentRoute);

console.log(time);

const currentOptions = getOptions(currentRoute);
setOptions(currentOptions);

Expand Down

0 comments on commit 3818ff9

Please sign in to comment.