From a4f9e6733aaff816310fefab74643445dd32a973 Mon Sep 17 00:00:00 2001 From: Hico <70553434+HicoMcD@users.noreply.github.com> Date: Mon, 25 Dec 2023 11:48:39 +0200 Subject: [PATCH] Update collections.mdx Found a typo in the Docs. 'codes' should be 'currency' for this particular example. --- pages/guides/collections.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/guides/collections.mdx b/pages/guides/collections.mdx index 946a33e..06eb43f 100644 --- a/pages/guides/collections.mdx +++ b/pages/guides/collections.mdx @@ -444,7 +444,7 @@ collection User { } setUSD (val: number) { - this.codes["USD"] = val; + this.currency["USD"] = val; } } ```