import React from 'react'; import { Flex, Skeleton, 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 (