diff --git a/frontend/src/components/LanguagePicker/index.tsx b/frontend/src/components/LanguagePicker/index.tsx index 886c5d6f..af2b073e 100644 --- a/frontend/src/components/LanguagePicker/index.tsx +++ b/frontend/src/components/LanguagePicker/index.tsx @@ -25,10 +25,6 @@ function Language({ name, code }: LanguageProps) { ); } -function LanguageSkeleton() { - return ; -} - interface LanguagePickerProps { languages: Array<{ name: string; code: string }>; } @@ -46,14 +42,3 @@ export function LanguagePicker({ languages }: LanguagePickerProps) { ); } - -export function LanguagePickerSkeleton() { - return ( - - ); -} diff --git a/frontend/src/routes/Provider/components/VersionInfo.tsx b/frontend/src/routes/Provider/components/VersionInfo.tsx index 02f5bd74..bb7885e7 100644 --- a/frontend/src/routes/Provider/components/VersionInfo.tsx +++ b/frontend/src/routes/Provider/components/VersionInfo.tsx @@ -1,8 +1,5 @@ import { OldVersionBanner } from "@/components/OldVersionBanner"; -import { - LanguagePicker, - LanguagePickerSkeleton, -} from "@/components/LanguagePicker"; +import { LanguagePicker } from "@/components/LanguagePicker"; import { VersionInfo, VersionInfoSkeleton } from "@/components/VersionInfo"; import { useSuspenseQueries } from "@tanstack/react-query"; import { getProviderDataQuery, getProviderVersionDataQuery } from "../query"; @@ -50,7 +47,7 @@ export function ProviderVersionInfo() {
- + {languages.length > 0 && }
{version !== latestVersion && ( @@ -60,10 +57,5 @@ export function ProviderVersionInfo() { } export function ProviderVersionInfoSkeleton() { - return ( -
- - -
- ); + return ; }