From 51e2dba6123b0c900be70ef84f14a47a98d2e77e Mon Sep 17 00:00:00 2001 From: Paulo Iankoski Date: Tue, 9 Jan 2024 13:24:59 -0300 Subject: [PATCH] fix: add templateTagsRef to TemplateTags component --- .../components/settings/TemplateTags/index.tsx | 16 ++++++++++------ .../email/template-options/index.tsx | 5 ++++- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/FormBuilder/resources/js/form-builder/src/components/settings/TemplateTags/index.tsx b/src/FormBuilder/resources/js/form-builder/src/components/settings/TemplateTags/index.tsx index e9a621fac5..666a4b9f2a 100644 --- a/src/FormBuilder/resources/js/form-builder/src/components/settings/TemplateTags/index.tsx +++ b/src/FormBuilder/resources/js/form-builder/src/components/settings/TemplateTags/index.tsx @@ -33,10 +33,16 @@ function CopyTagButton({textToCopy}) { /** * @unreleased */ -export default function TemplateTags({templateTags}: {templateTags: TemplateTag[]}) { +export default function TemplateTags({ + templateTags, + templateTagsRef, +}: { + templateTags: TemplateTag[]; + templateTagsRef?: Ref; +}) { return ( -