From 40bee019a034aa1f4f5f5786db31efbc19d6cb38 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 3 May 2023 20:10:34 +0800 Subject: [PATCH] fix(page3): fix Welcome keyname props issue. --- pages/page3/src/control/Welcome.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/page3/src/control/Welcome.tsx b/pages/page3/src/control/Welcome.tsx index 5b07c54..36307f6 100644 --- a/pages/page3/src/control/Welcome.tsx +++ b/pages/page3/src/control/Welcome.tsx @@ -2,9 +2,9 @@ import { PropsWithChildren } from 'react'; import { Block, BlockProps, BlockTagType } from 'react-login-page'; export const Welcome = (props: PropsWithChildren>>) => { - const { keyname, name = 'title', tagName = 'section', ...elmProps } = props; + const { keyname = 'welcome', tagName = 'section', ...elmProps } = props; if (!elmProps.children) { elmProps.children = 'Welcome back! Log in to your account.'; } - return ; + return ; };