diff --git a/3.0/docs/leaf/basics.md b/3.0/docs/leaf/basics.md index ca985e71..dfb7ef17 100644 --- a/3.0/docs/leaf/basics.md +++ b/3.0/docs/leaf/basics.md @@ -46,7 +46,7 @@ When working with Future results, simply pass the `Future` in your template cont Streams that carry an encodable type need to be encoded before they're usable within Leaf. ```swift -struct Profile: Codable { +struct Profile: Encodable { var friends: EncodableStream var currentUser: Future }