Skip to content

Commit

Permalink
rename sidebar events
Browse files Browse the repository at this point in the history
  • Loading branch information
zlwaterfield committed Mar 20, 2024
1 parent 78d464d commit 7d88672
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ export const sidePanelStateLogic = kea<sidePanelStateLogicType>([
// NOTE: We explicitly reference the actions instead of connecting so that people don't accidentally
// use this logic instead of sidePanelStateLogic
openSidePanel: ({ tab }) => {
posthog.capture('activation sidebar opened', { tab })
posthog.capture('sidebar opened', { tab })
actions.setSidePanelOpen(true)
},
closeSidePanel: ({ tab }) => {
posthog.capture('activation sidebar closed', { tab })
posthog.capture('sidebar closed', { tab })
if (!tab) {
// If we aren't specifiying the tab we always close
actions.setSidePanelOpen(false)
Expand Down

0 comments on commit 7d88672

Please sign in to comment.