PaulJohannFlade / Capstone_ClanPlan

https://capstone-clan-plan.vercel.app
0 stars 0 forks source link

prevent fetching data if no session and fix member form #122

Closed mariiaovs closed 3 months ago

mariiaovs commented 3 months ago

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.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
capstone-clan-plan ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2024 0:46am