You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: enhance usePublicAccessPage hook to include preview page detection
- Added logic to detect if the current page is a preview page by checking the pathname.
- Updated the return statement to include the new preview page condition alongside existing checks for share, artifact gallery, and use cases gallery pages.
- Ensured compliance with Tailwind CSS styling and performance optimizations, including the use of optional chaining and nullish coalescing.
0 commit comments