diff --git a/src/pages/Onboarding4.jsx b/src/pages/Onboarding4.jsx
index b49256e..4d0211d 100644
--- a/src/pages/Onboarding4.jsx
+++ b/src/pages/Onboarding4.jsx
@@ -9,12 +9,12 @@ const Onboarding4 = observer(()=>{
const [checkBoxesSelected, setCheckBoxesSelected] = useState(false)
- function postAuthData () {
+ function createAccount () {
let checkBoxes=[...document.getElementsByClassName("form-checkbox")]
if(checkBoxes.find(item=>item.checked===false)) {
return
} else {
- registrationStore.postAuth()
+ registrationStore.fetchCreateNewAccount()
setCheckBoxesSelected(true)
}
@@ -82,7 +82,7 @@ const Onboarding4 = observer(()=>{