From f84a74018c1fb8aec1f9e0633f70abc3241cb898 Mon Sep 17 00:00:00 2001 From: DBaldovskiy Date: Mon, 21 Jun 2021 23:11:34 +0200 Subject: [PATCH] Update custom-panel-option-editors.md (#36005) Variable name fix --- docs/sources/developers/plugins/custom-panel-option-editors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/developers/plugins/custom-panel-option-editors.md b/docs/sources/developers/plugins/custom-panel-option-editors.md index db966d758bc..aa2569244e1 100644 --- a/docs/sources/developers/plugins/custom-panel-option-editors.md +++ b/docs/sources/developers/plugins/custom-panel-option-editors.md @@ -57,7 +57,7 @@ export const SimpleEditor: React.FC> = ({ // Default values const from = item.settings?.from ?? 1; - const to = item.settings?.from ?? 10; + const to = item.settings?.to ?? 10; for (let i = from; i <= to; i++) { options.push({