mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 23:44:01 +02:00
enhance(frontend): typed nirax (#16309)
* enhance(frontend): typed nirax * migrate router.replace * fix
This commit is contained in:
@@ -168,7 +168,11 @@ function startGame(game: Misskey.entities.ReversiGameDetailed) {
|
||||
playbackRate: 1,
|
||||
});
|
||||
|
||||
router.push(`/reversi/g/${game.id}`);
|
||||
router.push('/reversi/g/:gameId', {
|
||||
params: {
|
||||
gameId: game.id,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
async function matchHeatbeat() {
|
||||
|
||||
Reference in New Issue
Block a user