From 1b87a57b8c5e25a7f00173822adde9eaa3bc1840 Mon Sep 17 00:00:00 2001 From: Natty Date: Fri, 8 Sep 2023 03:35:22 +0200 Subject: [PATCH] Frontend: Removed accidentally copied code --- fe_calckey/frontend/client/src/pages/user/home.vue | 9 --------- 1 file changed, 9 deletions(-) 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);