From 4c84e6da226d8c169de1761389b5d0a6b258e72e Mon Sep 17 00:00:00 2001 From: Satyam Bansal Date: Mon, 18 Dec 2023 16:43:44 +0530 Subject: [PATCH] Fix Overview -> Systems page --- src/cairo/systems.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo/systems.md b/src/cairo/systems.md index 74f482b1..f8962296 100644 --- a/src/cairo/systems.md +++ b/src/cairo/systems.md @@ -78,7 +78,7 @@ The spawn function is currently the only system that exists in this contract. It ### The `#[dojo::contract]` Decorator -All Starknet contracts are defined using the `#[dojo::contract]` decorator, ensuring accurate compilation. In this context, Dojo introduces the `#[dojo::contract]` decorator, which aims to minimize boilerplate in contract writing. +All Starknet contracts are defined using the `#[starknet::contract]` decorator, ensuring accurate compilation. In this context, Dojo introduces the `#[dojo::contract]` decorator, which aims to minimize boilerplate in contract writing. The `#[dojo::contract]` decorator allows developers to omit including `world: IWorldDispatcher` as a parameter. Behind the scenes, it injects the world into the contract and eliminates some imports, thereby streamlining the development process.