fix(channel): added string to new message bar

This commit is contained in:
trashtemp
2021-12-24 19:01:55 +01:00
parent c53f74abbf
commit 73b6da4e1e
2 changed files with 4 additions and 2 deletions

View File

@@ -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>