Files
supabase/apps/studio/components/interfaces/Database/Backups/BackupsStorageAlert.tsx
Joshen Lim e320368dc7 Part 2 of swapping useCheckPermissions with useAsyncCheckProjectPermissions (#37860)
* Part 2 of swapping useCheckPermissions with useAsyncCheckProjectPermissions

* Fix TS

* Address feedback

* Fix
2025-08-12 17:34:53 +07:00

15 lines
519 B
TypeScript

import { AlertDescription_Shadcn_, Alert_Shadcn_, WarningIcon } from 'ui'
export const BackupsStorageAlert = () => {
return (
<Alert_Shadcn_ variant="default">
<WarningIcon />
<AlertDescription_Shadcn_>
Database backups do not include objects stored via the Storage API, as the database only
includes metadata about these objects. Restoring an old backup does not restore objects that
have been deleted since then.
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
)
}