Graphical PDS migrator for AT Protocol

Update MigrationProgress.tsx

Changed files
+9 -3
islands
+9 -3
islands/MigrationProgress.tsx
···
i === index
? { ...step, status, error, isVerificationError }
: i > index
-
? { ...step, status: "pending", error: undefined, isVerificationError: undefined }
+
? {
+
...step,
+
status: "pending",
+
error: undefined,
+
isVerificationError: undefined,
+
}
: step
)
);
···
<button
type="button"
onClick={() => retryVerification(index)}
-
class="px-3 py-1 text-xs bg-blue-600 hover:bg-blue-700 text-white rounded transition-colors duration-200"
+
class="px-3 py-1 text-xs bg-blue-600 hover:bg-blue-700 text-white rounded transition-colors duration-200 dark:bg-blue-500 dark:hover:bg-blue-400"
>
Retry Verification
</button>
···
<button
type="button"
onClick={() => continueAnyway(index)}
-
class="px-3 py-1 text-xs bg-yellow-600 hover:bg-yellow-700 text-white rounded transition-colors duration-200"
+
class="px-3 py-1 text-xs bg-white border border-gray-300 text-gray-700 hover:bg-gray-100 rounded transition-colors duration-200
+
dark:bg-gray-800 dark:border-gray-600 dark:text-gray-200 dark:hover:bg-gray-700"
>
Continue Anyway
</button>