import { Card } from 'antd'; import React from 'react'; import { useLocation, useHistory } from 'react-router-dom'; import { SystemSettingsProvider } from '../admin-layout/SiteTitle'; export function AuthLayout({ children, route }: any) { const location = useLocation(); const history = useHistory(); return (