mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-18 17:51:24 +00:00
Updae theme and fix some bug (#1711)
This commit is contained in:
@@ -115,7 +115,7 @@ export function useScrollPagination<
|
||||
<MyBox isLoading={isLoading} ref={containerRef} overflow={'overlay'} {...props}>
|
||||
<Box ref={wrapperRef}>{children}</Box>
|
||||
{noMore.current && list.length > 0 && (
|
||||
<Box py={4} textAlign={'center'} color={'myGray.600'} fontSize={'sm'}>
|
||||
<Box py={4} textAlign={'center'} color={'myGray.600'} fontSize={'xs'}>
|
||||
{t('common.No more data')}
|
||||
</Box>
|
||||
)}
|
||||
|
@@ -5,6 +5,9 @@ export const useToast = (props?: UseToastOptions) => {
|
||||
const toast = uToast({
|
||||
position: 'top',
|
||||
duration: 2000,
|
||||
containerStyle: {
|
||||
fontSize: 'sm'
|
||||
},
|
||||
...props
|
||||
});
|
||||
|
Reference in New Issue
Block a user