don't wait for group info if hash is given

This commit is contained in:
lilydjwg 2021-10-06 23:11:50 +08:00
parent 11e44dabc3
commit 7c0fe6b022

View File

@ -26,9 +26,9 @@
} }
onMount(async () => { onMount(async () => {
do_hash_search()
const res = await fetch(`${LUOXU_URL}/groups`) const res = await fetch(`${LUOXU_URL}/groups`)
groups = (await res.json()).groups groups = (await res.json()).groups
do_hash_search()
}) })
function update_title() { function update_title() {