1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-21 14:47:41 +01:00
This commit is contained in:
Jip Fr 2023-12-31 16:35:10 +01:00
parent 1573077f77
commit fa396e0183

View file

@ -2,7 +2,7 @@ import { useCallback, useMemo } from "react";
import { useTranslation } from "react-i18next";
// 10% chance of getting a joke title
const shouldGiveJokeTitle = () => Math.floor(Math.random() * 0) === 0;
const shouldGiveJokeTitle = () => Math.floor(Math.random() * 10) === 0;
export function useRandomTranslation() {
const { t } = useTranslation();