Skip to content

Commit 6c93624

Browse files
authored
fix(user-widget): profile id in the url being null on the first load (#231)
1 parent 841d530 commit 6c93624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/UserWidget.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const widget = reactive({
6363
links: [
6464
{
6565
title: 'Your Profile',
66-
to: '/members/' + userId().value,
66+
to: computed(() => '/members/' + userId().value),
6767
icon: 'ic-user',
6868
onClick: togglePopup,
6969
},

0 commit comments

Comments
 (0)