mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
ui
This commit is contained in:
@@ -57,7 +57,7 @@ const Layout = ({ children }: { children: JSX.Element }) => {
|
||||
|
||||
const { data: unread = 0 } = useQuery(['getUnreadCount'], getUnreadCount, {
|
||||
enabled: !!userInfo,
|
||||
refetchInterval: 5000
|
||||
refetchInterval: 10000
|
||||
});
|
||||
|
||||
return (
|
||||
|
@@ -11,7 +11,7 @@ export interface Props extends GridProps {
|
||||
onChange: (id: string) => void;
|
||||
}
|
||||
|
||||
const SlideTabs = ({ list, size = 'md', activeId, onChange, ...props }: Props) => {
|
||||
const SideTabs = ({ list, size = 'md', activeId, onChange, ...props }: Props) => {
|
||||
const sizeMap = useMemo(() => {
|
||||
switch (size) {
|
||||
case 'sm':
|
||||
@@ -68,4 +68,4 @@ const SlideTabs = ({ list, size = 'md', activeId, onChange, ...props }: Props) =
|
||||
);
|
||||
};
|
||||
|
||||
export default React.memo(SlideTabs);
|
||||
export default React.memo(SideTabs);
|
Reference in New Issue
Block a user