1
0
Fork 0
mirror of synced 2024-09-19 18:59:06 +12:00
budibase/packages/builder/src/pages/index.svelte

16 lines
366 B
Svelte
Raw Normal View History

<script>
import { redirect } from "@roxi/routify"
import { auth } from "../stores/portal"
import { onMount } from "svelte"
import { notifications } from "@budibase/bbui"
onMount(async () => {
try {
await auth.checkQueryString()
} catch (error) {
notifications.error("Error setting org")
}
$redirect(`./builder`)
})
</script>