Best practice for getting ledger state in multiple nested react components

How would I do that in typescript? The query result has type QueryResult<Foo, Foo.Key, "FoosTemplateId">. How do I get my hands on “FoosTempalteId” to declare the type of the props of Inner?

1 Like