mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 17:55:33 +00:00
update tips number
downside is we wont show other language's tips that dont have eng translations
This commit is contained in:
parent
4d1dbe9b3d
commit
bd21f7d104
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ export function ScrapingPartInterruptButton() {
|
||||||
export function Tips() {
|
export function Tips() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const [tip] = useState(() => {
|
const [tip] = useState(() => {
|
||||||
const randomIndex = Math.floor(Math.random() * 21) + 1;
|
const randomIndex = Math.floor(Math.random() * 11) + 1;
|
||||||
return t(`player.scraping.tips.${randomIndex}`);
|
return t(`player.scraping.tips.${randomIndex}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue