Update custom-panel-option-editors.md (#36005)

Variable name fix
This commit is contained in:
DBaldovskiy authored and GitHub committed 2021-06-21 23:11:34 +02:00
1 parent 5ae3769320
commit f84a74018c
1 file changed
+1 -1
@@ -57,7 +57,7 @@ export const SimpleEditor: React.FC<StandardEditorProps<number, Settings>> = ({
// 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({