Frontend: Removed accidentally copied code

This commit is contained in:
Natty 2023-09-08 03:35:22 +02:00
parent e91c1040e2
commit 1b87a57b8c
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 0 additions and 9 deletions

View File

@ -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 | number>(null);
let narrow = $ref<null | boolean>(null);
let rootEl = $ref<null | HTMLElement>(null);