From f10c127a320c4703edde536f0b1bbaa14efac1e7 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Tue, 23 Jan 2024 10:28:14 +0100 Subject: [PATCH] missing file --- frontend/src/components/ConnectButton.tsx | 25 +++++++++++++++++++++++ frontend/src/screens/Setup.tsx | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 frontend/src/components/ConnectButton.tsx diff --git a/frontend/src/components/ConnectButton.tsx b/frontend/src/components/ConnectButton.tsx new file mode 100644 index 00000000..fc5537da --- /dev/null +++ b/frontend/src/components/ConnectButton.tsx @@ -0,0 +1,25 @@ +import Loading from "src/components/Loading"; + +type ConnectButtonProps = { + isConnecting: boolean; +}; + +export default function ConnectButton({ isConnecting }: ConnectButtonProps) { + return ( + + ); +} diff --git a/frontend/src/screens/Setup.tsx b/frontend/src/screens/Setup.tsx index 1807a0f0..243ad4cd 100644 --- a/frontend/src/screens/Setup.tsx +++ b/frontend/src/screens/Setup.tsx @@ -32,7 +32,7 @@ export function Setup() { }), }); - navigate("/apps"); + navigate("/"); } catch (error) { handleRequestError("Failed to connect", error); } finally {