mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 16:55:25 +03:00
Prettify
This commit is contained in:
parent
02dfa81407
commit
59e3e4a37f
1 changed files with 9 additions and 5 deletions
|
@ -44,10 +44,7 @@ import useTitle from '../utils/useTitle';
|
||||||
|
|
||||||
import getInstanceStatusURL from './../utils/get-instance-status-url';
|
import getInstanceStatusURL from './../utils/get-instance-status-url';
|
||||||
|
|
||||||
|
const { PHANPY_DEFAULT_INSTANCE: DEFAULT_INSTANCE } = import.meta.env;
|
||||||
const {
|
|
||||||
PHANPY_DEFAULT_INSTANCE: DEFAULT_INSTANCE,
|
|
||||||
} = import.meta.env;
|
|
||||||
|
|
||||||
const LIMIT = 40;
|
const LIMIT = 40;
|
||||||
const SUBCOMMENTS_OPEN_ALL_LIMIT = 10;
|
const SUBCOMMENTS_OPEN_ALL_LIMIT = 10;
|
||||||
|
@ -793,7 +790,14 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
|
||||||
not possible.
|
not possible.
|
||||||
</Trans>
|
</Trans>
|
||||||
</p>
|
</p>
|
||||||
<Link to={DEFAULT_INSTANCE ? `/login?instance=${DEFAULT_INSTANCE}&submit=1` : '/login'} class="button">
|
<Link
|
||||||
|
to={
|
||||||
|
DEFAULT_INSTANCE
|
||||||
|
? `/login?instance=${DEFAULT_INSTANCE}&submit=1`
|
||||||
|
: '/login'
|
||||||
|
}
|
||||||
|
class="button"
|
||||||
|
>
|
||||||
<Trans>Log in</Trans>
|
<Trans>Log in</Trans>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue