chore: Remove unused ShowUntil (#43546)

This commit is contained in:
Jeremias Menichelli authored and GitHub committed 2026-03-09 13:30:19 +01:00
1 parent 3885265c0c
commit ac41f6bd6f
2 files changed
+3 -8

No files matched your search

@@ -12,14 +12,6 @@ This guide refers to upgrading the Postgres version of your Supabase Project. Fo
You can upgrade your project using in-place upgrades or by pausing and restoring your project.
<ShowUntil date="2024-12-17">
<Admonition type="tip">
The Migrating and Upgrading guide has been divided into two sections. To migrate between Supabase projects, see [Migrating within Supabase](/docs/guides/platform/migrating-within-supabase).
</Admonition>
</ShowUntil>
## In-place upgrades
<Admonition type="note">
+3
View File
@@ -7,6 +7,9 @@ export function ShowUntil({ children, date }: { children: ReactNode; date: strin
if (isNaN(untilDate.getTime()) || currentDate < untilDate) {
return <>{children}</>
} else {
console.error(
`[docs/features/ui/ShowUntil]: Component for ${date} expired, please update remove this note.`
)
return null
}
}