Skip to content

Commit 464b3b7

Browse files
committed
flow
1 parent d865ac1 commit 464b3b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

exercises/04.debugging/04.problem.debug-console/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The console has access to all the variables at your breakpoint's scope. For exam
2626

2727
![A Visual Studio Code window with the debug console open. The value of the item variable is printed in the debug console to inspect.](/assets/04-04-debug-console-example.png)
2828

29-
That is the value of the `item` variable at this breakpoint!
29+
This is the value of the `item` variable at this breakpoint!
3030

3131
> 🦉 The objects you log out in Debug console are **interactve**. Try expanding some of the `item` properties to see that for yourself.
3232

exercises/04.debugging/04.solution.debug-console/README.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ First, I will try to run the `matchPath()` function with the same arguments as i
66
matchPath({ path: '/dashboard', end: false }, location.pathname)
77
```
88

9-
The console will print me the match object as the returned value of running this function:
9+
The console will print me the match object as the returned value from running this function:
1010

1111
![A Visual Studio Code window with the Debug console open. An object is printed as the result of calling the match path function like it is used by the component.](/assets/04-04-debug-console-01.png)
1212

13-
Now _this_ is a solid confirmation that the `/dashboard` path matches the current URL unexpectedly. Knowing this, I can try fixing the code right in the Debug console!
13+
Now _this_ is a solid confirmation that the `/dashboard` path unexpectedly matches the current URL. Knowing this, I can try fixing the code right in the Debug console!
1414

1515
My hunch is that the path matching is not strict, and I can confirm it by running the same `matchPath()` function again but now with the `end` option set to `true`:
1616

0 commit comments

Comments
 (0)