mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
chore: Remove unused ShowUntil (#43546)
This commit is contained in:
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">
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user