frontPanel/src/pages/Payment/Payment.tsx

12 lines
431 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { useAuthRedirect } from "../../utils/hooks/useAuthRedirect";
export default function Payment() {
// Используем хук авторизации
const { isProcessing } = useAuthRedirect();
// Если идет обработка авторизации, показываем загрузку
if (isProcessing) {
return <div>Идёт загрузка...</div>;
}
// ... existing component code ...