fix(purse): Join/Entra opens the HC Center (habboUI/open/hccenter)

The Entra button pointed at catalog/open/<habbo_club> (a catalog page that often
doesn't exist); open the real HC Center view instead.
This commit is contained in:
simoleo89
2026-06-15 20:28:39 +02:00
parent bf59ce2311
commit 5ac3b34916
+1 -3
View File
@@ -55,9 +55,7 @@ export const PurseView: FC<{}> = props =>
const openClub = useCallback((event: React.MouseEvent) =>
{
event.stopPropagation();
const page = GetConfigurationValue<string>('hc.buy_hc', 'habbo_club');
CreateLinkEvent('catalog/open/' + page);
CreateLinkEvent('habboUI/open/hccenter');
}, []);
const openEarnings = useCallback((event: React.MouseEvent) =>