this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #856 from Steffo99/feature/login-default-instance

Use the same logic as the main login button for the login tooltip in posts

authored by

Chee Aun and committed by
GitHub
e2e9e3cd 0eaa4b0c

+10 -1
+10 -1
src/pages/status.jsx
··· 44 44 45 45 import getInstanceStatusURL from './../utils/get-instance-status-url'; 46 46 47 + const { PHANPY_DEFAULT_INSTANCE: DEFAULT_INSTANCE } = import.meta.env; 48 + 47 49 const LIMIT = 40; 48 50 const SUBCOMMENTS_OPEN_ALL_LIMIT = 10; 49 51 const MAX_WEIGHT = 5; ··· 788 790 not possible. 789 791 </Trans> 790 792 </p> 791 - <Link to="/login" class="button"> 793 + <Link 794 + to={ 795 + DEFAULT_INSTANCE 796 + ? `/login?instance=${DEFAULT_INSTANCE}&submit=1` 797 + : '/login' 798 + } 799 + class="button" 800 + > 792 801 <Trans>Log in</Trans> 793 802 </Link> 794 803 </div>