Skip to content

Commit 7181d00

Browse files
committed
Update Modal.tsx
1 parent 67c74cc commit 7181d00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/components/modal/Modal.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default function Modal() {
4444
async function onEsc() {
4545
await play(AUDIO_SRC);
4646

47-
router.push('/');
47+
router.replace('/');
4848
}
4949

5050
const actions = new Map<string, KeyPressAction>();

0 commit comments

Comments
 (0)