Skip to content

Commit

Permalink
feat: module handling
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinsC1O committed Oct 26, 2024
1 parent ba78b9a commit c90f35b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions land_registry/src/land_nft.cairo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use starknet::ContractAddress;
use openzeppelin::token::erc721::ERC721Component;
use openzeppelin::introspection::src5::SRC5Component;
use land_registry::errors;
use land_registry::errors::Errors;

#[starknet::interface]
pub trait ILandNFT<TContractState> {
Expand All @@ -18,7 +18,7 @@ pub mod LandNFT {
use openzeppelin::token::erc721::{ERC721Component, ERC721Component::InternalTrait};
use openzeppelin::introspection::src5::SRC5Component;
use openzeppelin::token::erc721::ERC721HooksEmptyImpl;
use land_registry::errors;
use land_registry::errors::Errors;

component!(path: ERC721Component, storage: erc721, event: ERC721Event);
component!(path: SRC5Component, storage: src5, event: SRC5Event);
Expand Down
2 changes: 1 addition & 1 deletion land_registry/src/land_register.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub mod LandRegistryContract {
use land_registry::utils::utils::{create_land_id, LandUseIntoOptionFelt252};
use core::array::ArrayTrait;
use starknet::storage::{Map, StorageMapWriteAccess, StorageMapReadAccess};
use land_registry::errors;
use land_registry::errors::Errors;


#[storage]
Expand Down

0 comments on commit c90f35b

Please sign in to comment.