From cb75178e0fddb8df05485165f68128d34042c1f8 Mon Sep 17 00:00:00 2001 From: Leonardo Montini Date: Mon, 3 Feb 2025 20:08:09 +0100 Subject: [PATCH] fix: start header redirects to start doc --- app/components/DocsLayout.tsx | 2 +- app/components/DocsLogo.tsx | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/components/DocsLayout.tsx b/app/components/DocsLayout.tsx index 35896034a..c6d1929bd 100644 --- a/app/components/DocsLayout.tsx +++ b/app/components/DocsLayout.tsx @@ -455,7 +455,7 @@ export function DocsLayout({ const logo = ( { - const { name, version, colorFrom, colorTo } = props - +export const DocsLogo = ({ + name, + version, + colorFrom, + colorTo, + libraryId, +}: Props) => { const gradientText = `inline-block text-transparent bg-clip-text bg-gradient-to-r ${colorFrom} ${colorTo}` return ( @@ -20,9 +24,9 @@ export const DocsLogo = (props: Props) => { TanStack {name}{' '} {version}