From b474246f0f1879fc67b1d67e6981445506448d4c Mon Sep 17 00:00:00 2001
From: Yves Hajjar <91386863+spider-killer556@users.noreply.github.com>
Date: Fri, 23 Dec 2022 11:50:58 +0100
Subject: [PATCH] Update chapter_5.md

---
 book/src/chapter_5.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/book/src/chapter_5.md b/book/src/chapter_5.md
index 258575e..5245a29 100644
--- a/book/src/chapter_5.md
+++ b/book/src/chapter_5.md
@@ -1,4 +1,4 @@
-# Chapter 4 - Context
+# Chapter 5 - Context
 Context in Kayak UI allows users to pass data through the widget tree without having to pass data between each widget at every level in the tree.
 
 Typically in Kayak the data is passed top-down or parent to child via "props", but this can be cumbersome when dealing with complex widget trees. Context provides a way to share values from a parent widget down to children without the need to explicitly pass that data through every level of the tree.
@@ -45,4 +45,4 @@ fn my_child_widget_render(
 When a widget is associated with context it's important that the widget update system is aware of this. By default the `widget_update` diff system is used. This accepts types for props and state but not for context. A separate system called `widget_update_with_context` can be used which takes an optional third type for context.
 
 ### Important!
-`widget_update_with_context` is only designed to work with one type of context. If you need multiple context diffing for a single widget it's advised that you use a custom widget update system.
\ No newline at end of file
+`widget_update_with_context` is only designed to work with one type of context. If you need multiple context diffing for a single widget it's advised that you use a custom widget update system.
-- 
GitLab