Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 956f143

Browse files
author
John McCambridge
committedApr 9, 2019
Change let to const
1 parent e075d0d commit 956f143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/ide/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export abstract class IdeClient {
3636
let appWindow: Window | undefined;
3737

3838
window.addEventListener("beforeunload", (e) => {
39-
let confirmationMessage = "Are you sure you want to navigate away?";
39+
const confirmationMessage = "Are you sure you want to navigate away?";
4040
(e || window.event).returnValue = confirmationMessage; //IE
4141

4242
return confirmationMessage; // webkit, safari, chrome

0 commit comments

Comments
 (0)
Please sign in to comment.