From 70c971b4db8eae0d5635c88f0de143f0ebfe629c Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Wed, 22 Jun 2022 16:40:25 +0200 Subject: [PATCH] fix(simon): Correct hide signature --- designs/simon/config/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designs/simon/config/index.js b/designs/simon/config/index.js index 307507d4e69..9fed82c617f 100644 --- a/designs/simon/config/index.js +++ b/designs/simon/config/index.js @@ -117,14 +117,14 @@ const config = { buttonholePlacketStyle: { list: ['classic', 'seamless'], dflt: 'seamless', - hide: (options) => options.seperateButtonholePlacket, + hide: ({ options }) => options.seperateButtonholePlacket, }, buttonholePlacketWidth: { pct: 8, min: 4, max: 12 }, buttonholePlacketFoldWidth: { pct: 16, min: 8, max: 24 }, buttonPlacketStyle: { list: ['classic', 'seamless'], dflt: 'classic', - hide: (options) => options.seperateButtonPlacket, + hide: ({ options }) => options.seperateButtonPlacket, }, buttonPlacketWidth: { pct: 5, min: 2, max: 8 }, extraTopButton: { bool: true },