Skip to content

Commit e708348

Browse files
Use let
1 parent a44de05 commit e708348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/state-providers/portfolio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function createPortfolioState(editor: Editor) {
6666
const data = await upload(suffix, "text");
6767

6868
// Use filename as document name, removing the extension if it exists
69-
var documentName = data.filename;
69+
let documentName = data.filename;
7070
if (documentName.endsWith(suffix)) {
7171
documentName = documentName.slice(0, -suffix.length);
7272
}

0 commit comments

Comments
 (0)