diff --git a/src/contentScripts/views/Home/components/Following.vue b/src/contentScripts/views/Home/components/Following.vue index ef18f7a8..893f1e8d 100644 --- a/src/contentScripts/views/Home/components/Following.vue +++ b/src/contentScripts/views/Home/components/Following.vue @@ -12,13 +12,13 @@ const updateBaseline = ref('') onMounted(async () => { for (let i = 0; i < 3; i++) - await getFollowingAuthorVideos() + await getFollowedUsersVideos() emitter.off('reachBottom') emitter.on('reachBottom', async () => { if (!isLoading.value) { for (let i = 0; i < 3; i++) - await getFollowingAuthorVideos() + await getFollowedUsersVideos() } }) }) @@ -27,7 +27,7 @@ onUnmounted(() => { emitter.off('reachBottom') }) -async function getFollowingAuthorVideos() { +async function getFollowedUsersVideos() { isLoading.value = true try { const response = await browser.runtime.sendMessage({ @@ -134,4 +134,3 @@ function jumpToLoginPage() { -../types