Skip to content

Commit

Permalink
fix(insights): non-mobile panels do not close when clicking close (#8…
Browse files Browse the repository at this point in the history
…3588)

non-mobile panels do not close when clicking close, this is just a quick
fix which was introduced earlier in
#83571

Let me follow up on this with a proper test later.

### Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.
  • Loading branch information
markushi authored Jan 16, 2025
1 parent 3b5c9da commit 144a295
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function useSamplesDrawer({
Component,
moduleName,
requiredParams,
onClose = () => undefined,
onClose = undefined,
}: UseSamplesDrawerProps): void {
const organization = useOrganization();
const {openDrawer, closeDrawer, isDrawerOpen} = useDrawer();
Expand Down

0 comments on commit 144a295

Please sign in to comment.