Skip to content

Commit

Permalink
hide session section after starting
Browse files Browse the repository at this point in the history
  • Loading branch information
martypdx committed Nov 2, 2023
1 parent b733678 commit 69cf27d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion www/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ const signOutButton = document.getElementById('sign-out-button');
signOutButton.addEventListener('click', signOut);

const startButton = document.getElementById('start-button');
startButton.addEventListener('click', startSession);
startButton.addEventListener('click', () => {
hide(sessionSection);
startSession();
});

watchAuth((_event, session) => {
session ? sessionMode() : authMode();
Expand Down

0 comments on commit 69cf27d

Please sign in to comment.