fix: Update folder progress component sizing and correct analytics event name (#7879)
* 🐛 (empty-page.tsx): fix incorrect user tracking event name from "discord_joined" to "discord_clicked" to accurately track user actions * ♻️ (get-started-progress.tsx): refactor height value from pixels to rem units for better consistency and maintainability
This commit is contained in:
parent
296d285555
commit
1ebf1598c8
2 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ export const GetStartedProgress: FC<{
|
|||
};
|
||||
|
||||
return (
|
||||
<div className="mt-3 h-[180px] w-full">
|
||||
<div className="mt-3 h-[10.8rem] w-full">
|
||||
<div className="mb-2 flex items-center justify-between">
|
||||
<span className="text-sm font-semibold">
|
||||
{percentageGetStarted >= 100 ? (
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ export const EmptyPageCommunity = ({
|
|||
unstyled
|
||||
className="group mx-3 h-[84px] sm:mx-0"
|
||||
onClick={() => {
|
||||
handleUserTrack("discord_joined")();
|
||||
handleUserTrack("discord_clicked")();
|
||||
window.open(DISCORD_URL, "_blank", "noopener,noreferrer");
|
||||
}}
|
||||
data-testid="empty_page_discord_button"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue