diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 16:07:52 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-20 16:07:52 +0900 |
| commit | 7f534a41a65ec93a0eafd02796b782309b3d0702 (patch) | |
| tree | 56a7ba9d8fd48be173b4496db6dbd8f384dc7a81 /packages/frontend/src/lib/nirax.ts | |
| parent | Update eslint.config.js (diff) | |
| download | misskey-7f534a41a65ec93a0eafd02796b782309b3d0702.tar.gz misskey-7f534a41a65ec93a0eafd02796b782309b3d0702.tar.bz2 misskey-7f534a41a65ec93a0eafd02796b782309b3d0702.zip | |
fix lint
Diffstat (limited to 'packages/frontend/src/lib/nirax.ts')
| -rw-r--r-- | packages/frontend/src/lib/nirax.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/lib/nirax.ts b/packages/frontend/src/lib/nirax.ts index 8783874bc2..a97803e879 100644 --- a/packages/frontend/src/lib/nirax.ts +++ b/packages/frontend/src/lib/nirax.ts @@ -320,7 +320,7 @@ export class Nirax<DEF extends RouteDef[]> extends EventEmitter<RouterEvents> { } const res = this.navigate(fullPath); if (res.route.path === '/:(*)') { - location.href = fullPath; + window.location.href = fullPath; } else { this.emit('push', { beforeFullPath, |