itube-specs 0.0.614 → 0.0.615
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/composables/use-user.ts
CHANGED
|
@@ -116,6 +116,10 @@ export const useUser = (apiService) => {
|
|
|
116
116
|
const profile = useState<IProfileData | null>('profileData');
|
|
117
117
|
profile.value = null;
|
|
118
118
|
|
|
119
|
+
const { favoritesId, favoritesFirstVideoId } = useFavorites();
|
|
120
|
+
favoritesId.value = null;
|
|
121
|
+
favoritesFirstVideoId.value = null;
|
|
122
|
+
|
|
119
123
|
const router = useRouter();
|
|
120
124
|
router.push(generateLink('/'));
|
|
121
125
|
};
|
package/package.json
CHANGED