Commit 0485be4
fix: prevent the tutorial erroring after navigating (#1352)
* Fix the tutorial erroring after navigating
The `Workspace.reset` method was changed in a non-backward compatible
way in commit eb1eb2b, which caused the call in the tutorial pages
to not pass the proper value for the selected file. This was missed
because the tutorial page didn't use `PageProps` for typing.
* Remove unneeded type annotation
The language server infers this automatically, turns out
* Update +page.svelte
---------
Co-authored-by: Tee Ming <[email protected]>1 parent c60f4c3 commit 0485be4
1 file changed
+3
-7
lines changedLines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 20 | + | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
| |||
204 | 200 | | |
205 | 201 | | |
206 | 202 | | |
207 | | - | |
| 203 | + | |
208 | 204 | | |
209 | 205 | | |
210 | 206 | | |
| |||
0 commit comments