The problem addressed in this PR: the app attempted to fetch data before the user logged in. This was resolved by restructuring the components AuthGate and Header (they were split into multiple components) and changing the order of the wrapper components in app.js.
Additionally: small fix for the MemberForm to prevent form submission if the user has the role "Child" and no changes were made to the form.
The problem addressed in this PR: the app attempted to fetch data before the user logged in. This was resolved by restructuring the components AuthGate and Header (they were split into multiple components) and changing the order of the wrapper components in app.js.
Additionally: small fix for the MemberForm to prevent form submission if the user has the role "Child" and no changes were made to the form.