mirror of
https://github.com/modrinth/code.git
synced 2026-09-04 22:10:15 +00:00
Inject native router only in reactive scopes (#1730)
This commit is contained in:
@@ -69,7 +69,7 @@ useHead({
|
||||
const auth = await useAuth()
|
||||
|
||||
const route = useNativeRoute()
|
||||
const router = useRouter()
|
||||
const router = useNativeRouter()
|
||||
|
||||
const history = computed(() => {
|
||||
return route.name === 'dashboard-notifications-history'
|
||||
|
||||
Reference in New Issue
Block a user