Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Oct 18, 2024
1 parent bdeda3c commit 7c08326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1>FSRS Browser Example</h1>
const stability = 1.5; // or undefined
const desired_retention = 0.9;
const rating = 3;
const result = fsrs.nextInterval(stability, desired_retention, rating);
const result = fsrs.nextInterval(stability, desired_retention, rating).toFixed(0);
console.log("Next interval:", result);
}
});
Expand Down
2 changes: 1 addition & 1 deletion sandbox/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const App: Component = () => {
const desired_retention = 0.9
const rating = 3
const fsrs = new Fsrs()
const result = fsrs.nextInterval(stability, desired_retention, rating)
const result = fsrs.nextInterval(stability, desired_retention, rating).toFixed(0)
console.log('Next interval:', result)
setNextInterval(result.toString())
fsrs.free() // for details grep D91EEC72-FCBC-4140-8ADC-9CF2016A56C5
Expand Down

0 comments on commit 7c08326

Please sign in to comment.