From 5a0068d7e6248ee816bd3a54794fc8b7027bc495 Mon Sep 17 00:00:00 2001 From: Santush Deb Nath Date: Thu, 4 Jul 2024 02:58:51 +0100 Subject: [PATCH] Update useEditorOptions.ts --- src/hooks/useEditorOptions.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hooks/useEditorOptions.ts b/src/hooks/useEditorOptions.ts index 2e5f551..7fc0d70 100644 --- a/src/hooks/useEditorOptions.ts +++ b/src/hooks/useEditorOptions.ts @@ -1,6 +1,6 @@ import {MailUiEditorProps} from "../MailUiEditor"; import {useMemo} from "react"; -// import pkg from "../../package.json"; +import pkg from "../../package.json"; const useEditorOptions = (props: MailUiEditorProps, editorId: string) => { return useMemo(() => { @@ -12,10 +12,10 @@ const useEditorOptions = (props: MailUiEditorProps, editorId: string) => { locale: props.options?.locale, tools: props.options?.tools, id: editorId, - // source: { - // name: pkg.name, - // version: pkg.version, - // }, + source: { + name: pkg.name, + version: pkg.version, + }, }; return options; }, [props.options, editorId]);