Inject native router only in reactive scopes (#1730)

This commit is contained in:
Sasha Sorokin
2024-06-15 08:27:38 -04:00
committed by GitHub
parent 61fd6f1741
commit bd49d6bd89
12 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -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'