import React from 'react'; import { Skeleton, Space, Spin } from 'antd'; import { useLocation } from 'dumi'; const Loading: React.FC = () => { const { pathname } = useLocation(); if ( pathname.startsWith('/components') || pathname.startsWith('/docs') || pathname.startsWith('/changelog') ) { return ( ); } return ( ); }; export default Loading;