We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06b4bf3 + eebe07e commit 4b4578eCopy full SHA for 4b4578e
2 files changed
frontend/src/components/Spinner.jsx
@@ -1,6 +1,12 @@
1
import React from 'react';
2
3
-const Spinner = () => {
+const Spinner = ({ inline = false }) => {
4
+ if (inline) {
5
+ return (
6
+ <div className="w-5 h-5 border-2 border-dashed rounded-full animate-spin border-white"></div>
7
+ );
8
+ }
9
+
10
return (
11
<div className="flex justify-center items-center py-10">
12
<div className="w-16 h-16 border-4 border-dashed rounded-full animate-spin border-blue-600"></div>
frontend/src/pages/SetupPage.jsx
@@ -94,7 +94,7 @@ const SetupPage = () => {
94
>
95
{loading ? (
96
<>
97
- <Spinner />
+ <Spinner inline />
98
<span className="ml-2">Setting up...</span>
99
</>
100
) : (
0 commit comments