diff --git a/crates/torii/client/src/contract/component.rs b/crates/torii/client/src/contract/component.rs index 9400ce6525..7c3f293057 100644 --- a/crates/torii/client/src/contract/component.rs +++ b/crates/torii/client/src/contract/component.rs @@ -90,7 +90,7 @@ impl<'a, P: Provider + Sync> ComponentReader<'a, P> { .await .map_err(ComponentError::ContractReaderError)?; - Ok(res[2]) + Ok(res[1]) } pub async fn layout(