Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Small fix

Joshen Lim448a0ac676b8
diff --git a/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx b/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx
index e8f28fa937e..1608d4b994b 100644
--- a/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx
+++ b/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx
@@ -252,7 +252,6 @@ const PITRSelection = ({}) => {
</div>
)}
/>
- {/* Legend */}
<div className="flex items-center space-x-2">
<div
className="border w-4 h-4 border-scale-800"
@@ -333,7 +332,11 @@ const PITRSelection = ({}) => {
onCancel={() => setShowConfirmation(false)}
customFooter={
<div className="flex items-center justify-end space-x-2">
- <Button type="default" onClick={() => setShowConfirmation(false)}>
+ <Button
+ type="default"
+ disabled={isRestoring}
+ onClick={() => setShowConfirmation(false)}
+ >
Cancel
</Button>
<Button