From af9b97f60c650e96a45f07eb8c04fea3ef27d5b7 Mon Sep 17 00:00:00 2001 From: codytseng Date: Wed, 5 Feb 2025 15:31:15 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/PrimaryPageLayout/index.tsx | 1 + src/layouts/SecondaryPageLayout/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/layouts/PrimaryPageLayout/index.tsx b/src/layouts/PrimaryPageLayout/index.tsx index 356dd81..255760b 100644 --- a/src/layouts/PrimaryPageLayout/index.tsx +++ b/src/layouts/PrimaryPageLayout/index.tsx @@ -72,6 +72,7 @@ const PrimaryPageLayout = forwardRef( > {titlebar && {titlebar}} {children} +
{displayScrollToTopButton && } diff --git a/src/layouts/SecondaryPageLayout/index.tsx b/src/layouts/SecondaryPageLayout/index.tsx index 55e332e..2b443ad 100644 --- a/src/layouts/SecondaryPageLayout/index.tsx +++ b/src/layouts/SecondaryPageLayout/index.tsx @@ -85,6 +85,7 @@ const SecondaryPageLayout = forwardRef( hideBackButton={hideBackButton} /> {children} +
{displayScrollToTopButton && }