mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
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:
@@ -55,9 +55,7 @@ export const PurseView: FC<{}> = props =>
|
|||||||
const openClub = useCallback((event: React.MouseEvent) =>
|
const openClub = useCallback((event: React.MouseEvent) =>
|
||||||
{
|
{
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
CreateLinkEvent('habboUI/open/hccenter');
|
||||||
const page = GetConfigurationValue<string>('hc.buy_hc', 'habbo_club');
|
|
||||||
CreateLinkEvent('catalog/open/' + page);
|
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const openEarnings = useCallback((event: React.MouseEvent) =>
|
const openEarnings = useCallback((event: React.MouseEvent) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user