From 7e2a001697852384e17240479cea628756be2a55 Mon Sep 17 00:00:00 2001 From: Aamir Azad <82281117+aamirazad@users.noreply.github.com> Date: Tue, 25 Jun 2024 10:26:26 +0530 Subject: [PATCH] feat: remove all done page in settings (#32) feat: remove all done page in settings Remove unnecessary import --- src/app/settings/page.tsx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/app/settings/page.tsx b/src/app/settings/page.tsx index ef9feff..1939c4a 100644 --- a/src/app/settings/page.tsx +++ b/src/app/settings/page.tsx @@ -151,9 +151,9 @@ function PaperlessToken({ - You can create (or re-create) an API token by opening the "My - Profile" link in the user dropdown found in the web UI and - clicking the circular arrow button. + You can create (or re-create) an API token by opening the + "My Profile" link in the user dropdown found in the + web UI and clicking the circular arrow button. )} @@ -164,13 +164,6 @@ function PaperlessToken({ ); } -function Done() { - setTimeout(function () { - redirect("/"); - }, 3000); - return <>All done! Redirecting home..; -} - interface ProgressIndicatorProps { activeTab: number; totalTabs: number; @@ -203,7 +196,6 @@ export default function SettingsPage() { const formElements = [ , , - , ]; return ( <>