perf: optimize simple app history (#2782)

* simple app history

* ui

* extract context content into hooks
This commit is contained in:
heheer
2024-09-24 21:09:59 +08:00
committed by GitHub
parent 7aa75f8ee0
commit 6bb10ca150
18 changed files with 736 additions and 893 deletions

View File

@@ -16,6 +16,8 @@ const CustomRightDrawer = ({
iconSrc,
title,
maxW = ['90vw', '30vw'],
top = 16,
bottom = 0,
children,
isLoading,
showMask = true,
@@ -31,8 +33,8 @@ const CustomRightDrawer = ({
zIndex={100}
maxW={maxW}
w={'100%'}
top={'60px'}
bottom={0}
top={top}
bottom={bottom}
borderLeftRadius={'lg'}
border={'base'}
boxShadow={'2'}