Nuxt useRoute is not reactive

Hi there,

Im trying to use a computed with useRouter inside a Pinia store.
A snippet of my code:
    const route = useRoute();

    const currentOrganisationID = computed(() => {
        route.redirectedFrom;
        console.log({ route });
        return route.params.orgID;
    });

Somehow it looks like the console.log is never triggered altho i am using the variable inside of my Vue code.
Was this page helpful?