🚨 Made eslint happy

This commit is contained in:
Mawoka
2022-04-10 13:24:05 +02:00
parent 04b6f76e52
commit c9fc4ce67f
4 changed files with 9 additions and 8 deletions
+1
View File
@@ -58,6 +58,7 @@
throw new Error('Failed to start game');
}
const data = await res.json();
// eslint-disable-next-line no-undef
plausible('Started Game', { props: { quiz_id: id } });
window.location.replace(`/admin?token=${data.game_id}&pin=${data.game_pin}&connect=1`);
};