Spaces:
Paused
Paused
css btn disabled
Browse files- components/form.tsx +1 -0
components/form.tsx
CHANGED
@@ -224,6 +224,7 @@ export const Form = ({ children }: { children: React.ReactNode }) => {
|
|
224 |
"rounded-xl bg-amber-500/10 border-amber-500 border px-6 py-3 font-semibold text-base text-amber-500 mt-6 hover:bg-amber-500 hover:text-white transition-all duration-200 relative",
|
225 |
{
|
226 |
"animate-pulse": shareLoading,
|
|
|
227 |
}
|
228 |
)}
|
229 |
onClick={async () => {
|
|
|
224 |
"rounded-xl bg-amber-500/10 border-amber-500 border px-6 py-3 font-semibold text-base text-amber-500 mt-6 hover:bg-amber-500 hover:text-white transition-all duration-200 relative",
|
225 |
{
|
226 |
"animate-pulse": shareLoading,
|
227 |
+
"opacity-50 !cursor-not-allowed": hasBeenShared,
|
228 |
}
|
229 |
)}
|
230 |
onClick={async () => {
|