From bffb7c028335b1f5c97b236a187ef2cab3780d11 Mon Sep 17 00:00:00 2001 From: mattyatea Date: Sat, 4 Nov 2023 01:29:56 +0900 Subject: [PATCH] build fix --- .../src/server/api/endpoints/notes/create.ts | 2 -- .../frontend/src/components/MkNoteHeader.vue | 25 +++++++------------ 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/notes/create.ts b/packages/backend/src/server/api/endpoints/notes/create.ts index 8300565c8e..3b1bdc0b91 100644 --- a/packages/backend/src/server/api/endpoints/notes/create.ts +++ b/packages/backend/src/server/api/endpoints/notes/create.ts @@ -16,8 +16,6 @@ import { Endpoint } from '@/server/api/endpoint-base.js'; import { NoteEntityService } from '@/core/entities/NoteEntityService.js'; import { NoteCreateService } from '@/core/NoteCreateService.js'; import { DI } from '@/di-symbols.js'; -import { ApiError } from '../../error.js'; -import {noteVisibilities} from "@/types.js"; import { isPureRenote } from '@/misc/is-pure-renote.js'; import { ApiError } from '../../error.js'; diff --git a/packages/frontend/src/components/MkNoteHeader.vue b/packages/frontend/src/components/MkNoteHeader.vue index da3c9535ad..23d46b86ec 100644 --- a/packages/frontend/src/components/MkNoteHeader.vue +++ b/packages/frontend/src/components/MkNoteHeader.vue @@ -5,10 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only