Refactored UI endpoint usage
This commit is contained in:
@@ -38,8 +38,7 @@ export const AccountActivationModal: React.FC<AccountActivationModalProps> = ({
|
||||
const [errorMessage, setErrorMessage] = useState<string | null>(initialError || null);
|
||||
const [syncAttemptCount, setSyncAttemptCount] = useState(0);
|
||||
|
||||
// Activation process dismisses all other modals so that it is displayed without overlapping.
|
||||
// By extension, any active session expiration modal is dismissed and its processes cancelled.
|
||||
// Clear any existing session prompt and close background dialogs
|
||||
useEffect(() => {
|
||||
cancelSessionExpiration();
|
||||
dismissSubordinateModals();
|
||||
|
||||
Reference in New Issue
Block a user