Skip to content

Commit 4d92911

Browse files
authored
deprecated: alert - pitr selection (supabase#30724)
changed to shadcn alert
1 parent 1ba0035 commit 4d92911

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

apps/studio/components/interfaces/Database/Backups/PITR/PITRSelection.tsx

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { setProjectStatus } from 'data/projects/projects-query'
1111
import { useReadReplicasQuery } from 'data/read-replicas/replicas-query'
1212
import { PROJECT_STATUS } from 'lib/constants'
1313
import {
14-
Alert,
1514
AlertDescription_Shadcn_,
1615
AlertTitle_Shadcn_,
1716
Alert_Shadcn_,
@@ -165,14 +164,16 @@ const PITRSelection = () => {
165164
</Modal.Content>
166165
<Modal.Separator />
167166
<Modal.Content>
168-
<Alert
169-
withIcon
170-
variant="warning"
171-
title="This action cannot be undone, not canceled once started"
172-
>
173-
Any changes made to your database after this point in time will be lost. This includes
174-
any changes to your project's storage and authentication.
175-
</Alert>
167+
<Alert_Shadcn_ variant="warning">
168+
<WarningIcon />
169+
<AlertTitle_Shadcn_>
170+
This action cannot be undone, not canceled once started
171+
</AlertTitle_Shadcn_>
172+
<AlertDescription_Shadcn_>
173+
Any changes made to your database after this point in time will be lost. This includes
174+
any changes to your project's storage and authentication.
175+
</AlertDescription_Shadcn_>
176+
</Alert_Shadcn_>
176177
</Modal.Content>
177178
<Modal.Separator />
178179
<Modal.Content>

0 commit comments

Comments
 (0)