Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(addpage.tsx): refactor authentication logic to use @logto/react …
…library for improved user authentication handling The code now uses the useLogto hook from the @logto/react library to handle user authentication logic. This change improves the codebase by centralizing authentication logic and making it more maintainable. The useEffect hook is used to fetch user data asynchronously when the component mounts, ensuring that the user information is up to date.
- Loading branch information