Skip to content

Commit

Permalink
fix: check to set default env value [UA-8598]
Browse files Browse the repository at this point in the history
  • Loading branch information
shidanjavaheri committed Mar 7, 2024
1 parent 7d9d2d1 commit da48a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Charts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const Charts: FunctionComponent<ChartsProps> = (props) => {
if (query.env !== env && query.env) {
console.log("environment is now: ", query.env)
setEnv(query.env!);
} else {
} else if (query.env !== env){
console.log("environment set to default: prd")
setEnv("prd");
}
Expand Down

0 comments on commit da48a87

Please sign in to comment.