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
I'm logged in to Keep and I still see "Start free trial" which is a bit confusing:
I think we should somehow leak auth status to the landing page and swap the button to "Proceed to the platform" or smth similar.
The text was updated successfully, but these errors were encountered:
Matvey-Kuk
changed the title
[🐛 Bug]: Button on the landing page always says "Start free trial" even if you are logged in
[🐛 Bug]: Button on the landing page always says "Free trial" even if you are logged in
Mar 13, 2025
The landing page currently determines whether a user is logged in by checking the session object. If the session object is null or does not contain a user, it implies that the user is not logged in [1]. To address the issue of the button text not updating based on authentication status, you can leverage the session data to conditionally render the button text.
You might want to update the component responsible for rendering the button to check the session object and change the text accordingly. If the user is logged in, display "Proceed to the platform"; otherwise, display "Start free trial". This approach ensures that the button text reflects the user's authentication status.
I'm logged in to Keep and I still see "Start free trial" which is a bit confusing:
I think we should somehow leak auth status to the landing page and swap the button to "Proceed to the platform" or smth similar.
The text was updated successfully, but these errors were encountered: