mirror of
https://github.com/jcreek/EstimationPoker.git
synced 2026-07-12 18:43:47 +00:00
feat(*): Enable joining a room from the homepage
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<script>
|
||||
import { generateRoomId } from './estimation/estimation.js';
|
||||
import { generateId } from './estimation/estimation.js';
|
||||
import { goto } from '$app/navigation';
|
||||
|
||||
function startARoom() {
|
||||
const roomId = generateRoomId();
|
||||
const roomId = generateId();
|
||||
goto(`/estimation/${roomId}`);
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user