Skip to content

Commit 9c8afde

Browse files
committed
fix: logout & bump 2.0.2-rc.7
1 parent 5cf2fca commit 9c8afde

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pogues",
33
"private": true,
4-
"version": "2.0.2-rc.6",
4+
"version": "2.0.2-rc.7",
55
"type": "module",
66
"scripts": {
77
"generate-routes": "tsr generate",

next/src/components/layout/User.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export default function User({ user }: Readonly<UserProps>) {
2525
redirectTo: 'home',
2626
});
2727
}
28-
console.log('logoutEnabled', logoutEnabled);
2928
return (
3029
<Menu
3130
items={[
@@ -41,7 +40,7 @@ export default function User({ user }: Readonly<UserProps>) {
4140
: {
4241
label: t('common.logoutDialog.label'),
4342
icon: <LogoutIcon />,
44-
onClick: () => onLogout,
43+
onClick: onLogout,
4544
disabled: !logoutEnabled,
4645
},
4746
]}

0 commit comments

Comments
 (0)