mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
fix(channel): added string to new message bar
This commit is contained in:
parent
c53f74abbf
commit
73b6da4e1e
2 changed files with 4 additions and 2 deletions
2
external/lang
vendored
2
external/lang
vendored
|
@ -1 +1 @@
|
|||
Subproject commit c5d2538d70e3df1b099caf9084e41b015a52387d
|
||||
Subproject commit 455c61db08463159ede88380ef8ef998fd9d9d33
|
|
@ -4,6 +4,7 @@ import { useHistory } from "react-router-dom";
|
|||
import { Channel } from "revolt.js/dist/maps/Channels";
|
||||
import { decodeTime } from "ulid";
|
||||
|
||||
import { Text } from "preact-i18n";
|
||||
import { useEffect, useState } from "preact/hooks";
|
||||
|
||||
import { internalSubscribe } from "../../../../lib/eventEmitter";
|
||||
|
@ -52,7 +53,8 @@ export default observer(
|
|||
{dayjs(decodeTime(last_id)).fromNow()}
|
||||
</div>
|
||||
<div>
|
||||
Click to jump to start. <UpArrowAlt size={20} />
|
||||
<Text id="app.main.channel.misc.jump_beginning" />
|
||||
<UpArrowAlt size={20} />
|
||||
</div>
|
||||
</div>
|
||||
</Bar>
|
||||
|
|
Loading…
Reference in a new issue