Skip to content

Commit 708e08c

Browse files
committed
feat: move customize profile button to header section
🎨 Improved Layout: - Moved 'Customize Profile' button to header area - Better visual hierarchy and organization - More prominent placement for profile customization - Cleaner menu structure ✨ Enhanced UX: - Button now appears in profile header section - More intuitive placement next to user info - Simplified button text to 'Customize Profile' - Better visual flow and user experience The profile customization feature is now more prominently placed and easier to find!
1 parent 82b016c commit 708e08c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

components/ui/navigation/UserDropdown.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ export const UserDropdown = () => {
7171
};
7272

7373
const handleAutoGenerate = async () => {
74-
// if (!walletData?.publicKey) {
75-
// addToast({
76-
// type: 'error',
77-
// title: '❌ No Wallet Connected',
78-
// message: 'Please connect your wallet first',
79-
// duration: 3000,
80-
// });
81-
// return;
82-
// }
74+
if (!walletData?.publicKey) {
75+
addToast({
76+
type: 'error',
77+
title: '❌ No Wallet Connected',
78+
message: 'Please connect your wallet first',
79+
duration: 3000,
80+
});
81+
return;
82+
}
8383

8484
setIsGenerating(true);
8585
try {
@@ -169,7 +169,7 @@ export const UserDropdown = () => {
169169
'🎲'
170170
)}
171171
</span>
172-
<span>{isGenerating ? 'Generating...' : 'Customize Profile Randomly'}</span>
172+
<span>{isGenerating ? 'Generating...' : 'Customize Profile'}</span>
173173
</button>
174174
</div>
175175
</div>

0 commit comments

Comments
 (0)