Newer
Older
// Imports
import * as Auth from "/services/auth/auth.js";
// DOM elements
// local variables
let current_user;
export async function mount(where) {
const roundComponent = new Round();
await roundComponent.mount(where);
}
class Round {
constructor() {}
async mount(where) {
const mountpoint = where;
document.getElementById(mountpoint).innerHTML = /* HTML */ `
Ceci est un tour d'élection.
`;
current_user = await Auth.GetUser();
}
}