ommit
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

This commit is contained in:
1xDed committed 2026-12-03 07:20:39 +03:00
1 parent cbb750a413
commit 497b9a2fc5
42 files changed
+945 -354

No files matched your search

+14 -7
View File
@@ -142,7 +142,9 @@ const QuickConnectButton = (props: LoadingButtonProps) => {
setCheckForQuickConnect(true);
},
onError: (error) => {
enqueueSnackbar("Не удалось запустить Quick Connect.", { variant: "error" });
enqueueSnackbar("Не удалось запустить Quick Connect.", {
variant: "error",
});
console.error(error);
},
});
@@ -157,7 +159,6 @@ const QuickConnectButton = (props: LoadingButtonProps) => {
useInterval(
() => {
if (quickConnectSecret) {
console.log(checkForQuickConnect);
checkQuickConnectStatus.mutate(quickConnectSecret);
}
},
@@ -187,9 +188,7 @@ const QuickConnectButton = (props: LoadingButtonProps) => {
: "Quick Connect недоступен"}
</span>
<span className="qc-label-short">
{quickConnectEnabled.data?.data
? "Quick Connect"
: "QC недоступен"}
{quickConnectEnabled.data?.data ? "Quick Connect" : "QC недоступен"}
</span>
</LoadingButton>
<Dialog
@@ -259,9 +258,17 @@ const QuickConnectButton = (props: LoadingButtonProps) => {
variant="body2"
sx={{ mt: 2, opacity: 0.75, textAlign: "center" }}
>
Или отсканируйте код в Blink на телефоне, чтобы подтвердить вход.
Или отсканируйте код в Blink на телефоне, чтобы подтвердить
вход.
</Typography>
<div style={{ marginTop: "1em", background: "#08001f", borderRadius: 12, padding: 8 }}>
<div
style={{
marginTop: "1em",
background: "#08001f",
borderRadius: 12,
padding: 8,
}}
>
<QRCodeImage
value={buildQuickConnectDeepLink(quickConnectCode)}
size={180}