summaryrefslogtreecommitdiff
path: root/packages/frontend/src/nirax.ts
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-02-17 14:38:15 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-02-17 14:38:15 +0900
commit34f8345bc8330e0e53ab9e043a4b6db7b150636f (patch)
tree2d4cfcddf8fe2e28d2169e7f91a9498236d6f5f0 /packages/frontend/src/nirax.ts
parenttweak error log (diff)
downloadmisskey-34f8345bc8330e0e53ab9e043a4b6db7b150636f.tar.gz
misskey-34f8345bc8330e0e53ab9e043a4b6db7b150636f.tar.bz2
misskey-34f8345bc8330e0e53ab9e043a4b6db7b150636f.zip
clean up dev logs
Diffstat (limited to 'packages/frontend/src/nirax.ts')
-rw-r--r--packages/frontend/src/nirax.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/frontend/src/nirax.ts b/packages/frontend/src/nirax.ts
index 0374d03c48..ea3f1fb01a 100644
--- a/packages/frontend/src/nirax.ts
+++ b/packages/frontend/src/nirax.ts
@@ -6,8 +6,8 @@
// NIRAX --- A lightweight router
import { onMounted, shallowRef } from 'vue';
-import type { Component, ShallowRef } from 'vue';
import { EventEmitter } from 'eventemitter3';
+import type { Component, ShallowRef } from 'vue';
function safeURIDecode(str: string): string {
try {
@@ -242,8 +242,6 @@ export class Router extends EventEmitter<RouterEvent> implements IRouter {
hash,
};
- if (_DEV_) console.log('Routing: ', path, queryString);
-
function check(routes: RouteDef[], _parts: string[]): Resolved | null {
forEachRouteLoop:
for (const route of routes) {