diff --git a/resources/scripts/components/elements/Spinner.tsx b/resources/scripts/components/elements/Spinner.tsx index 31606296..127ab652 100644 --- a/resources/scripts/components/elements/Spinner.tsx +++ b/resources/scripts/components/elements/Spinner.tsx @@ -34,7 +34,7 @@ const Spinner = ({ centered, ...props }: Props) => ( centered ?
diff --git a/resources/scripts/components/elements/SuspenseSpinner.tsx b/resources/scripts/components/elements/SuspenseSpinner.tsx index fca1e91b..3e7098ca 100644 --- a/resources/scripts/components/elements/SuspenseSpinner.tsx +++ b/resources/scripts/components/elements/SuspenseSpinner.tsx @@ -1,15 +1,8 @@ import React, { Suspense } from 'react'; import Spinner from '@/components/elements/Spinner'; -import tw from 'twin.macro'; -const SuspenseSpinner = ({ children }: { children?: React.ReactNode }) => ( - - -
- } - > +const SuspenseSpinner: React.FC = ({ children }) => ( + }> {children} );