From 95197d7b91a2fae2c4b827965a8c5ec44d599ad9 Mon Sep 17 00:00:00 2001 From: tehnalogos <128236767+tehnalogos@users.noreply.github.com> Date: Mon, 2 Sep 2024 08:00:02 +0200 Subject: [PATCH 1/2] Fix standard-detection.md docs --- docs/learn/standard-detection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/learn/standard-detection.md b/docs/learn/standard-detection.md index 869f8b070..8b974af47 100644 --- a/docs/learn/standard-detection.md +++ b/docs/learn/standard-detection.md @@ -67,7 +67,7 @@ const myUPContract = new ethers.Contract( const result = await myUPContract.getData(SupportedStandards.LSP3Profile.key); // Verify if the metadata standard is supported -const supportsLSP3Metadata = result == SupportedStandards.LSP3Profile.value; +const supportsLSP3Metadata = result.value == SupportedStandards.LSP3Profile.value; console.log(supportsLSP3Metadata); // true or false ``` From e340fc42eddc916c3079e2afff3d61886bfd8d5d Mon Sep 17 00:00:00 2001 From: "user.name" Date: Tue, 10 Sep 2024 08:29:24 +0300 Subject: [PATCH 2/2] lint fix --- docs/learn/standard-detection.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/learn/standard-detection.md b/docs/learn/standard-detection.md index b167cc6c8..551d77fcc 100644 --- a/docs/learn/standard-detection.md +++ b/docs/learn/standard-detection.md @@ -67,7 +67,8 @@ const myUPContract = new ethers.Contract( const result = await myUPContract.getData(SupportedStandards.LSP3Profile.key); // Verify if the metadata standard is supported -const supportsLSP3Metadata = result.value == SupportedStandards.LSP3Profile.value; +const supportsLSP3Metadata = + result.value == SupportedStandards.LSP3Profile.value; console.log(supportsLSP3Metadata); // true or false ```