This commit is contained in:
2023-11-28 18:34:30 +05:00
parent 6a389bc424
commit ce8f94c6ca
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ function App() {
const [searchParams] = useSearchParams();
const [isOpen] = useSidebarStore((state) => [state.isOpen]);
const [loading, setLoading] = useState<boolean>(false);
const [countdownTimer, setCountdownTimer] = useState(10);
const [countdownTimer, setCountdownTimer] = useState(15);
// const host = window.location.host;
const { t, i18n } = useTranslation();
const build = searchParams.get("build") || null;
@@ -67,7 +67,7 @@ function App() {
setTimeout(() => {
navigate(`/stream/${response.stream}`);
}, 10000);
}, 15000);
} else {
setLoading(false);
toastError("Превышен лимит одновременных сессий, попробуйте позже.");
+1 -1
View File
@@ -21,7 +21,7 @@ function QRCodeModal() {
bgColor="#131317"
fgColor="#F2F2F2"
size={128}
value={window.location.href}
value={window.location.origin + window.location.pathname}
viewBox={`0 0 256 256`}
/>
</div>
+1 -1
View File
@@ -51,7 +51,7 @@ function ShareModal() {
readOnly
type="text"
className="bg-[#23242A] rounded px-4 py-3 outline-none"
value={window.location.href}
value={window.location.origin + window.location.pathname}
/>
<button
onClick={handleClickCopy}
+1 -1
View File
@@ -115,7 +115,7 @@ const resources = {
button: "Скопировать",
},
notification: {
newMember: "Присоеденился новый участник",
newMember: "Присоединился новый участник",
getAccess: "Получите доступ у администратора трансляции!",
controlReceived: "Управление получено!",
},
+3 -3
View File
@@ -684,9 +684,9 @@ camelcase-css@^2.0.1:
integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==
caniuse-lite@^1.0.30001449, caniuse-lite@^1.0.30001464:
version "1.0.30001489"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001489.tgz"
integrity sha512-x1mgZEXK8jHIfAxm+xgdpHpk50IN3z3q3zP261/WS+uvePxW8izXuCu6AHz0lkuYTlATDehiZ/tNyYBdSQsOUQ==
version "1.0.30001565"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001565.tgz"
integrity sha512-xrE//a3O7TP0vaJ8ikzkD2c2NgcVUvsEe2IvFTntV4Yd1Z9FVzh+gW+enX96L0psrbaFMcVcH2l90xNuGDWc8w==
chalk@^4.0.0:
version "4.1.2"