diff --git a/packages/client/src/pages/note.vue b/packages/client/src/pages/note.vue
index 4d1744349..ff6bbfdb6 100644
--- a/packages/client/src/pages/note.vue
+++ b/packages/client/src/pages/note.vue
@@ -14,23 +14,7 @@
mode="out-in"
>
-
-
-
-
-
-
- {{ `${i18n.ts.loadMore} (${i18n.ts.newer})` }}
-
-
-
- {{ `${i18n.ts.loadMore} (${i18n.ts.older})` }}
-
-
-
-
-
@@ -85,10 +53,6 @@ const props = defineProps<{
}>();
let note = $ref();
-let hasPrev = $ref(false);
-let hasNext = $ref(false);
-let showPrev = $ref(false);
-let showNext = $ref(false);
let error = $ref();
let isRenote = $ref(false);
let appearNote = $ref();
@@ -122,10 +86,6 @@ const nextPagination = {
};
function fetchNote() {
- hasPrev = false;
- hasNext = false;
- showPrev = false;
- showNext = false;
note = null;
os.api("notes/show", {
noteId: props.noteId,
@@ -140,22 +100,6 @@ function fetchNote() {
appearNote = isRenote
? (note.renote as misskey.entities.Note)
: note;
-
- Promise.all([
- os.api("users/notes", {
- userId: note.userId,
- untilId: note.id,
- limit: 1,
- }),
- os.api("users/notes", {
- userId: note.userId,
- sinceId: note.id,
- limit: 1,
- }),
- ]).then(([prev, next]) => {
- hasPrev = prev.length !== 0;
- hasNext = next.length !== 0;
- });
})
.catch((err) => {
error = err;