experience loading speeded up (before con. load.)
This commit is contained in:
parent
3af85de747
commit
181462fcaa
|
@ -29,14 +29,17 @@
|
|||
view = 'experience-preview'
|
||||
})*/
|
||||
|
||||
onMount(async () => {
|
||||
$: [gameData] = loadAsStore(params.gameurl)
|
||||
$: if ($gameData) view = 'experience-preview'
|
||||
|
||||
/*onMount(async () => {
|
||||
try {
|
||||
$gameData = await load(params.gameurl)
|
||||
view = 'experience-preview'
|
||||
} catch (error) {
|
||||
navigate('/error')
|
||||
}
|
||||
})
|
||||
})*/
|
||||
|
||||
/*$: assets = $gameData?.questions
|
||||
?.filter((q) => q.thumbnail !== null)
|
||||
|
|
Loading…
Reference in New Issue