Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
fix: 🐛 fix sidebar-profile image
Browse files Browse the repository at this point in the history
  • Loading branch information
velenyx committed Sep 23, 2023
1 parent f761bb0 commit 38fade7
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,30 @@ InactiveUserProfile.args = {
export const UnregisteredUserProfile = { ...SidebarProfileTemplate };
UnregisteredUserProfile.args = {
...sidebarProfileProps,
user: undefined,
user: {
_id: '650544eead52282dbf4397aa',
email: '[email protected]',
password: '$2a$05$7AnHdyBKd7kh78kkSt4OIOaBAidnedL3Sr6ZfFOKG5xcVatrPT4kq',
isRegistered: false,
fullName: 'Unknown',
username: '[email protected]',
image: '/images/user/unregistered.png',
},
};

// Active Unregistered User Profile
export const ActiveUnregisteredUserProfile = { ...SidebarProfileTemplate };
ActiveUnregisteredUserProfile.args = {
...sidebarProfileProps,
user: undefined,
user: {
_id: '650544eead52282dbf4397aa',
email: '[email protected]',
password: '$2a$05$7AnHdyBKd7kh78kkSt4OIOaBAidnedL3Sr6ZfFOKG5xcVatrPT4kq',
isRegistered: false,
fullName: 'Unknown',
username: '[email protected]',
image: '/images/user/unregistered.png',
},
active: true,
};

Expand Down

0 comments on commit 38fade7

Please sign in to comment.