From af1d38a7b600e3328d88ca6948868a2740bc8dd5 Mon Sep 17 00:00:00 2001 From: Corban Riley Date: Thu, 23 May 2024 14:09:46 -0400 Subject: [PATCH] examples/next: disable animation on image loading to prevent SSR issues --- examples/next/src/app/components/Header.tsx | 3 ++- examples/next/src/app/page.tsx | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/next/src/app/components/Header.tsx b/examples/next/src/app/components/Header.tsx index db644031..f10beb3b 100644 --- a/examples/next/src/app/components/Header.tsx +++ b/examples/next/src/app/components/Header.tsx @@ -9,7 +9,7 @@ export const Header = () => { return ( - Sequence kit + Sequence kit { }} src="kit-logo-text.svg" alt="Sequence Kit Text Logo" + disableAnimation /> diff --git a/examples/next/src/app/page.tsx b/examples/next/src/app/page.tsx index a3eda68c..9d16959b 100644 --- a/examples/next/src/app/page.tsx +++ b/examples/next/src/app/page.tsx @@ -16,10 +16,10 @@ export default function Home() { {!isConnected ? ( - Next + Next - Sequence Kit Logo + Sequence Kit Logo Sequence Kit Text Logo