From a8a5cc8b59e93b6df32b7ce76656c06ca131d205 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 4 Apr 2024 09:55:52 +0530 Subject: [PATCH] Inline spinner --- web/apps/payments/src/components/Spinner.tsx | 5 ----- web/apps/payments/src/pages/index.tsx | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 web/apps/payments/src/components/Spinner.tsx diff --git a/web/apps/payments/src/components/Spinner.tsx b/web/apps/payments/src/components/Spinner.tsx deleted file mode 100644 index 2b4872696b..0000000000 --- a/web/apps/payments/src/components/Spinner.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import React from "react"; - -export const Spinner: React.FC = () => { - return
; -}; diff --git a/web/apps/payments/src/pages/index.tsx b/web/apps/payments/src/pages/index.tsx index eef49fb7c5..61529e52b3 100644 --- a/web/apps/payments/src/pages/index.tsx +++ b/web/apps/payments/src/pages/index.tsx @@ -1,5 +1,4 @@ import { Container } from "components/Container"; -import { Spinner } from "components/Spinner"; import React, { useEffect } from "react"; import { parseAndHandleRequest } from "services/billing-service"; import S from "utils/strings"; @@ -17,3 +16,5 @@ const Page: React.FC = () => { }; export default Page; + +const Spinner: React.FC = () =>
;