mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Refactor code to use the new 'id' function
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
*/
|
||||
|
||||
import { showLogin } from "../navigation";
|
||||
import { id } from "../utils/utils";
|
||||
import { PRODUCT_NAME } from "./config";
|
||||
|
||||
showLogin();
|
||||
document.getElementById("productname")!.textContent = PRODUCT_NAME;
|
||||
id("productname").textContent = PRODUCT_NAME;
|
||||
document.title = PRODUCT_NAME;
|
||||
Reference in New Issue
Block a user