Skip to content

Commit

Permalink
Fixed the subscribe button issue on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-01k committed Oct 10, 2024
1 parent 87af83d commit 7fc36e7
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions src/primaries/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,29 +52,29 @@ const Profile = ({ isDarkMode }: { isDarkMode: boolean }) => {
id: 'walletAddress',
value: account,
title: account,
function: () => {},
function: () => { },
invertedIcon: getPublicAssetPath('copy.svg'),
},
{
id: 'userSettings',
value: '',
title: 'Settings',
function: () => {},
function: () => { },
to: APP_PATHS.UserSettings,
invertedIcon: getPublicAssetPath('svg/setting.svg'),
},
...(EnvHelper.isProd
? []
: [
{
id: 'prodDapp',
value: '',
function: () => {},
link: `https://${envUtil.prod}`,
title: 'Production dapp',
invertedIcon: getPublicAssetPath('prod.svg'),
},
]),
{
id: 'prodDapp',
value: '',
function: () => { },
link: `https://${envUtil.prod}`,
title: 'Production dapp',
invertedIcon: getPublicAssetPath('prod.svg'),
},
]),
{
id: 'disconnect',
value: '',
Expand All @@ -85,7 +85,6 @@ const Profile = ({ isDarkMode }: { isDarkMode: boolean }) => {
setMode(ReadOnlyWalletMode.GUEST_MODE);
setReadOnlyWallet('0x0000000000000000000000000000000000000001');
setShowDropdown(false);
await initializePushSdkReadMode();
},
title: 'Logout',
invertedIcon: getPublicAssetPath('logout.svg'),
Expand Down

0 comments on commit 7fc36e7

Please sign in to comment.