import Import from '@/components/_shared/more-actions/importer/Import'; import { Typography } from '@mui/material'; import React from 'react'; import { ReactComponent as AppflowyLogo } from '@/assets/appflowy.svg'; import { useSearchParams } from 'react-router-dom'; function ImportPage () { const [search] = useSearchParams(); const redirectTo = search.get('redirectToImport'); const onSuccess = React.useCallback(() => { if (redirectTo) { window.location.href = redirectTo; } }, [redirectTo]); return (