Skip to content

Commit

Permalink
Extended autosave interval
Browse files Browse the repository at this point in the history
  • Loading branch information
notangelmario committed Oct 13, 2022
1 parent ca2c8a2 commit 1a334bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "miniated",
"private": true,
"author": "Savin Angel-Mario ([email protected])",
"version": "1.1.3",
"version": "1.1.4",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function startAutosave(editor: monaco.editor.IStandaloneCodeEditor, fileH
createNotice("Autosaved!");
});
};
}, 60000);
}, 120000);

return () => {
clearInterval(interval);
Expand Down

0 comments on commit 1a334bc

Please sign in to comment.