Frontend: Removed accidentally copied code
This commit is contained in:
parent
e91c1040e2
commit
1b87a57b8c
|
@ -369,7 +369,6 @@ import { getScrollPosition } from "@/scripts/scroll";
|
||||||
import { userPage } from "@/filters/user";
|
import { userPage } from "@/filters/user";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
import { $i } from "@/account";
|
import { $i } from "@/account";
|
||||||
import * as os from "@/os";
|
|
||||||
|
|
||||||
const XPhotos = defineAsyncComponent(() => import("./index.photos.vue"));
|
const XPhotos = defineAsyncComponent(() => import("./index.photos.vue"));
|
||||||
const XActivity = defineAsyncComponent(() => import("./index.activity.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 parallaxAnimationId = $ref<null | number>(null);
|
||||||
let narrow = $ref<null | boolean>(null);
|
let narrow = $ref<null | boolean>(null);
|
||||||
let rootEl = $ref<null | HTMLElement>(null);
|
let rootEl = $ref<null | HTMLElement>(null);
|
||||||
|
|
Loading…
Reference in New Issue