diff --git a/src/pages/Onboarding4.jsx b/src/pages/Onboarding4.jsx
index 96dd347..b49256e 100644
--- a/src/pages/Onboarding4.jsx
+++ b/src/pages/Onboarding4.jsx
@@ -9,11 +9,12 @@ const Onboarding4 = observer(()=>{
const [checkBoxesSelected, setCheckBoxesSelected] = useState(false)
- function validateCheckBox () {
+ function postAuthData () {
let checkBoxes=[...document.getElementsByClassName("form-checkbox")]
if(checkBoxes.find(item=>item.checked===false)) {
return
} else {
+ registrationStore.postAuth()
setCheckBoxesSelected(true)
}
@@ -81,7 +82,7 @@ const Onboarding4 = observer(()=>{
{registrationStore.accountData.first_name ? `Nice to meet you, ${registrationStore.accountData.first_name} 🙌` : 'Please, go back step 2'}
-