Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tikitko committed Dec 28, 2023
1 parent fe96e53 commit 459fe76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
</head>
<body>
<div id="app"></div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js" integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions src/components/auth_user_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn auth_user_block() -> Html {

let Some(_) = logged_user_context.token().cloned() else {
#[cfg(feature = "telegram")]
let tg_button = Some(html! {
let tg_button = /* Some(html! {
<button
title="Войти через Telegram"
aria-label="Войти через Telegram"
Expand All @@ -40,7 +40,7 @@ pub fn auth_user_block() -> Html {
>
<i class="bi bi-tg"></i>
</button>
});
}); */ None;
#[cfg(not(feature = "telegram"))]
let tg_button: Option<Html> = None;

Expand Down

0 comments on commit 459fe76

Please sign in to comment.