Inject native router only in reactive scopes (#1730)

This commit is contained in:
Sasha Sorokin
2024-06-15 14:27:38 +02:00
committed by GitHub
parent 61fd6f1741
commit bd49d6bd89
12 changed files with 17 additions and 21 deletions

View File

@@ -996,9 +996,9 @@ async function sendMessage(status) {
stopLoading()
}
async function goToNextProject() {
const router = useRouter()
const router = useNativeRouter()
async function goToNextProject() {
const project = props.futureProjects[0]
if (!project) {