Skip to content

Commit 78e2a45

Browse files
committed
fix(web): update beta button identifier and remove redundant styles
1 parent ee33928 commit 78e2a45

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const PH_ID_BETA_BUTTON = "beta-button";
1+
export const PH_ID_BETA_BUTTON = "early-access-button"; // this needs to match the id of the button in the PostHog dashboard

packages/web/src/components/GlobalStyle/styled.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,4 @@ export const GlobalStyle = createGlobalStyle`
4141
background-color: ${theme.color.panel.scrollbarActive};
4242
}
4343
}
44-
45-
/* Hide PostHog beta feature button
46-
Posthog adds this by default, but we're using our
47-
own beta feature button, so we don't need both
48-
*/
49-
.beta-feature-button {
50-
visibility: hidden !important;
51-
}
52-
`;
44+
`;

packages/web/src/views/Calendar/components/Sidebar/SidebarIconRow/SidebarIconRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const SidebarIconRow = () => {
8484
}
8585
/>
8686
</TooltipWrapper>
87-
<TooltipWrapper description="Early Access" shortcut="SHIFT + 3">
87+
<TooltipWrapper description="Early Access">
8888
<FlaskIcon
8989
id={PH_ID_BETA_BUTTON}
9090
color={theme.color.text.darkPlaceholder}

0 commit comments

Comments
 (0)