Skip to content

Commit 4eeb566

Browse files
authored
fix: typo (#259)
1 parent 8b27ed2 commit 4eeb566

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: docs/src/app/app.component.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ <h3 class="box-title" id="/total-blocking-time/">
248248

249249
<div class="box">
250250
<h3 class="box-title" id="/navigation-total-blocking-time/">
251-
<a href="{{ path }}#/navigation-total-blocking-time/">Navigationg Total Blocking Time (NTBT)</a>
251+
<a href="{{ path }}#/navigation-total-blocking-time/">Navigation Total Blocking Time (NTBT)</a>
252252
</h3>
253253
<p>
254254
This metric measures the amount of time the application may be blocked from processing code during the 2s window after a user navigates from page A to page B. The NTBT metric is the summation of the blocking time of all long tasks in the 2s window after this method is invoked.
@@ -414,7 +414,7 @@ <h3 class="box-title" id="/user-journey-step-tracking">
414414
<td class="code">
415415
<pre>
416416
<span class="gray">// Marking the start of the step</span>
417-
<span class="red">const</span> <span class="blue">ScreenA</span> <span class="red">= () =></span> ({{'{'}}
417+
<span class="red">const</span> <span class="blue">ScreenA</span> <span class="red">= () =></span> ({{'{'}}
418418
<span class="red">const</span> <span class="blue">handleNavigation</span> <span class="red">= () =></span> {{'{'}}
419419
<span class="gray">// Navigation logic</span>
420420
<span class="gray">// Mark when navigating to screen B</span>
@@ -426,11 +426,11 @@ <h3 class="box-title" id="/user-journey-step-tracking">
426426
})
427427

428428
<span class="gray">// Marking the end of the step</span>
429-
<span class="red">const</span> <span class="blue">ScreenB</span> <span class="red">= () =></span> ({{'{'}}
429+
<span class="red">const</span> <span class="blue">ScreenB</span> <span class="red">= () =></span> ({{'{'}}
430430
<span class="red">const</span> <span class="blue">{{'{'}} data }</span> <span class="red">=</span> <span class="violet">fetch</span><span>("http://example.com/data")</span>
431431

432-
<span class="violet">useEffect</span><span>(() =></span> {{'{'}}
433-
<span class="red">if</span> <span>(data)</span> {{'{'}}
432+
<span class="violet">useEffect</span><span>(() =></span> {{'{'}}
433+
<span class="red">if</span> <span>(data)</span> {{'{'}}
434434
<span class="violet">markStep</span><span>('loaded_screen_B')</span>
435435
}
436436
},[<span class="blue">data</span>])

0 commit comments

Comments
 (0)