From ec6d46f70def1cf36793e26009ccc20f608afa68 Mon Sep 17 00:00:00 2001 From: Ben Life Date: Thu, 21 Nov 2024 13:06:20 -0500 Subject: [PATCH 1/2] useCallback for font selector --- src/internal/puck/components/FontSelector.tsx | 5 +++- .../utils/constructThemePuckFields.ts | 24 +++++++++++-------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/internal/puck/components/FontSelector.tsx b/src/internal/puck/components/FontSelector.tsx index 7ad7995..5d9f9c3 100644 --- a/src/internal/puck/components/FontSelector.tsx +++ b/src/internal/puck/components/FontSelector.tsx @@ -48,7 +48,10 @@ export const FontSelector = ({