Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion frontend/src/components/Spinner.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import React from 'react';

const Spinner = () => {
const Spinner = ({ inline = false }) => {
if (inline) {
return (
<div className="w-5 h-5 border-2 border-dashed rounded-full animate-spin border-white"></div>
);
}

return (
<div className="flex justify-center items-center py-10">
<div className="w-16 h-16 border-4 border-dashed rounded-full animate-spin border-blue-600"></div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/SetupPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const SetupPage = () => {
>
{loading ? (
<>
<Spinner />
<Spinner inline />
<span className="ml-2">Setting up...</span>
</>
) : (
Expand Down
Loading