vevcom / projectNext

Project Next is Omegas new website coming soon
MIT License
7 stars 0 forks source link

chore/auth-in-action-not-on-page #230

Open JohanHjelsethStorstad opened 5 months ago

JohanHjelsethStorstad commented 5 months ago

page.tsx (rendered on server) should not auth the user then call a action author the user again. For example: the omega quote page should only call readOmegaquoteAction then if it returns success false we should have a function taking in the error and errorCode to determine what to do.