diff --git a/fe_calckey/frontend/client/src/pages/user/home.vue b/fe_calckey/frontend/client/src/pages/user/home.vue index 448c7e8..7e17485 100644 --- a/fe_calckey/frontend/client/src/pages/user/home.vue +++ b/fe_calckey/frontend/client/src/pages/user/home.vue @@ -369,7 +369,6 @@ import { getScrollPosition } from "@/scripts/scroll"; import { userPage } from "@/filters/user"; import { i18n } from "@/i18n"; import { $i } from "@/account"; -import * as os from "@/os"; const XPhotos = defineAsyncComponent(() => import("./index.photos.vue")); const XActivity = defineAsyncComponent(() => import("./index.activity.vue")); @@ -382,14 +381,6 @@ const props = withDefaults( {} ); -function accept(user) { - os.api("following/requests/accept", { userId: user.id }); -} - -function reject(user) { - os.api("following/requests/reject", { userId: user.id }).then(); -} - let parallaxAnimationId = $ref(null); let narrow = $ref(null); let rootEl = $ref(null);