From 07753a62531130685bb52ca5b24f098d5bfc8ddd Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 25 Mar 2026 21:32:55 +0200 Subject: [PATCH] refactor(standalone/setup): get rid of warnings --- apps/client/src/setup.css | 33 --------------------------------- apps/client/src/setup.tsx | 24 +----------------------- 2 files changed, 1 insertion(+), 56 deletions(-) diff --git a/apps/client/src/setup.css b/apps/client/src/setup.css index e4df6c79ae..080cb2c1ca 100644 --- a/apps/client/src/setup.css +++ b/apps/client/src/setup.css @@ -173,39 +173,6 @@ body.setup { } } - .lds-ring { - display: inline-block; - position: relative; - --size: 128px; - flex-grow: 1; - display: flex; - align-items: center; - justify-content: center; - - &>div { - box-sizing: border-box; - display: block; - position: absolute; - width: var(--size, 48px); - height: var(--size, 48px); - margin: 8px; - border: 6px solid var(--main-text-color); - border-radius: 50%; - animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; - border-color: var(--main-text-color) transparent transparent transparent; - - &:nth-child(1) { - animation-delay: -0.45s; - } - &:nth-child(2) { - animation-delay: -0.3s; - } - &:nth-child(3) { - animation-delay: -0.15s; - } - } - } - .sync-illustration { display: flex; justify-content: center; diff --git a/apps/client/src/setup.tsx b/apps/client/src/setup.tsx index 31db4b6133..5b29677200 100644 --- a/apps/client/src/setup.tsx +++ b/apps/client/src/setup.tsx @@ -229,16 +229,6 @@ function useOutstandingSyncInfo() { return { outstandingPullCount, totalPullCount, initialized }; } -function Spinner() { - return ( -
-
-
-
-
-
); -} - function CreateNewDocumentOptions({ setState }: { setState: (state: State) => void }) { return ( { location.reload(); }); - }, []); + }, [ withDemo ]); return ( void }) { } function SyncFromDesktop({ setState }: { setState: (state: State) => void }) { - function handleFinishSetup() { - } - return ( - - {children} -
- ); -} - function SetupOptionCard({ title, description, icon, onClick, disabled }: { title: string; description: string, icon: string, onClick?: () => void, disabled?: boolean }) { return (