import '../../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { Confirmation } from '../../components/molecules/Confirmation.mjs';
import { useMountEffect } from '../../hooks/useMountEffect.mjs';
import { useEventCallback } from '../GlobalContextProvider.mjs';
import { StytchEventType } from '../../../../../core/src/public/ui.mjs';
import { createElement as y } from '../../../../../../node_modules/preact/dist/preact.module.mjs';

const ConfirmationScreen = ()=>{
    const onEvent = useEventCallback();
    useMountEffect(()=>{
        onEvent({
            type: StytchEventType.AuthenticateFlowComplete,
            data: {}
        });
    });
    return /*#__PURE__*/ y(Confirmation, null);
};

export { ConfirmationScreen };
//# sourceMappingURL=Confirmation.mjs.map
