From 29bf32b76f8e041a772ba56bd9dec57f8577bc18 Mon Sep 17 00:00:00 2001 From: Erik Michelson Date: Sat, 7 Oct 2023 12:08:45 +0200 Subject: [PATCH] enhancement: use isLoggedIn hook Signed-off-by: Erik Michelson --- frontend/src/app/(editor)/login/page.tsx | 6 ------ .../src/components/history-page/entry-menu/entry-menu.tsx | 1 - 2 files changed, 7 deletions(-) diff --git a/frontend/src/app/(editor)/login/page.tsx b/frontend/src/app/(editor)/login/page.tsx index 1489e8434..76c2b2609 100644 --- a/frontend/src/app/(editor)/login/page.tsx +++ b/frontend/src/app/(editor)/login/page.tsx @@ -1,9 +1,3 @@ -/* - * SPDX-FileCopyrightText: 2023 The HedgeDoc developers (see AUTHORS file) - * - * SPDX-License-Identifier: AGPL-3.0-only - */ - 'use client' /* diff --git a/frontend/src/components/history-page/entry-menu/entry-menu.tsx b/frontend/src/components/history-page/entry-menu/entry-menu.tsx index 0a0649aff..c9bc622b3 100644 --- a/frontend/src/components/history-page/entry-menu/entry-menu.tsx +++ b/frontend/src/components/history-page/entry-menu/entry-menu.tsx @@ -4,7 +4,6 @@ * SPDX-License-Identifier: AGPL-3.0-only */ import { HistoryEntryOrigin } from '../../../api/history/types' -import { useApplicationState } from '../../../hooks/common/use-application-state' import { cypressId } from '../../../utils/cypress-attribute' import { UiIcon } from '../../common/icons/ui-icon' import { ShowIf } from '../../common/show-if/show-if'