Skip to content

Conversation

@jainpawan21
Copy link
Contributor

Summary

  1. Used useLocation hook from react-router-dom
  2. Used isOnErrorsPage flag check to conditionally render <DropdownMenu>

closes #6405

How did you test this change?

Screen.Recording.2023-08-26.at.11.07.47.PM.mov

Are there any deployment considerations?

@mayberryzane mayberryzane self-requested a review August 28, 2023 14:21
Copy link
Contributor

@mayberryzane mayberryzane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jainpawan21 ! looks good to me

@mayberryzane mayberryzane merged commit 14e590d into highlight:main Aug 28, 2023
lewisl9029 pushed a commit to lewisl9029/highlight that referenced this pull request Nov 16, 2023
## Summary
1. Used `useLocation` hook from `react-router-dom`
2. Used isOnErrorsPage flag check to conditionally render
`<DropdownMenu>`

closes highlight#6405 
<!--
Ideally, there is an attached GitHub issue that will describe the "why".

If relevant, use this section to call out any additional information
you'd like to _highlight_ to the reviewer.
-->

## How did you test this change?


https://github.com/highlight/highlight/assets/39362422/d1dd042f-7ac0-49c0-85eb-d826fc899365


<!--
Frontend - Leave a screencast or a screenshot to visually describe the
changes.
-->

## Are there any deployment considerations?

<!--
 Backend - Do we need to consider migrations or backfilling data?
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sessions menu shouldn't be visible on errors page

2 participants