mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +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) =>
|
||||
{
|
||||
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) =>
|
||||
|
||||
Reference in New Issue
Block a user